Make it possible to pass style to the Container component.

master
Tom Hacohen 7 years ago
parent a374766ab8
commit f84c3b58da

@ -3,11 +3,11 @@ import Paper from 'material-ui/Paper';
import './Container.css'; import './Container.css';
export default ({children}: {children: any}) => ( export default (props: {style?: any, children: any}) => (
<div className="Container"> <div className="Container" style={props.style}>
<Paper zDepth={2}> <Paper zDepth={2}>
<div className="Container-inner"> <div className="Container-inner">
{children} {props.children}
</div> </div>
</Paper> </Paper>
</div> </div>

Loading…
Cancel
Save