diff --git a/src/components/board/BoardToolbar.tsx b/src/components/board/BoardToolbar.tsx new file mode 100644 index 0000000..f51a029 --- /dev/null +++ b/src/components/board/BoardToolbar.tsx @@ -0,0 +1,22 @@ +import * as React from 'react'; +import { FunctionComponent } from 'react'; + +const BoardToolbar: FunctionComponent<{ visible?: boolean, style?: React.CSSProperties }> = ({ children, visible, style }) => { + if(visible === false) return <>; + return ( +
+ {children} + +
+ ); +} + +export default BoardToolbar; \ No newline at end of file