From f84c3b58da3fcf545ade6e6a7bc6573c1e426bd2 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 11 Dec 2017 13:15:15 +0000 Subject: [PATCH] Make it possible to pass style to the Container component. --- src/Container.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Container.tsx b/src/Container.tsx index 6661fac..06788da 100644 --- a/src/Container.tsx +++ b/src/Container.tsx @@ -3,11 +3,11 @@ import Paper from 'material-ui/Paper'; import './Container.css'; -export default ({children}: {children: any}) => ( -
+export default (props: {style?: any, children: any}) => ( +
- {children} + {props.children}