1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-13 06:40:06 +02:00

refactoring baseline component

This commit is contained in:
Alex Windett 2017-02-01 15:14:37 +00:00
parent 6bf348659b
commit ee4d78cdce

View File

@ -33,14 +33,11 @@ const StyledBaselineBackground = styled.div`
const Baseline = ({
children
}) => {
return (
<StyledBaselineBackground>
{children}
</StyledBaselineBackground>
);
};
}) => (
<StyledBaselineBackground>
{children}
</StyledBaselineBackground>
);
Baseline.propTypes = {
children: React.PropTypes.node,