diff --git a/src/widgets/Container.tsx b/src/widgets/Container.tsx index f3d502c..a2c4ff7 100644 --- a/src/widgets/Container.tsx +++ b/src/widgets/Container.tsx @@ -6,12 +6,17 @@ import Paper from "@material-ui/core/Paper"; import "./Container.css"; -export default (props: {style?: any, children: any}) => ( -
- -
- {props.children} -
-
-
-); +export default (props: {style?: React.CSSProperties, children: any}) => { + const display = props.style?.display; + const flexDirection = props.style?.flexDirection; + + return ( +
+ +
+ {props.children} +
+
+
+ ); +};