refactoring baseline component
This commit is contained in:
parent
6bf348659b
commit
ee4d78cdce
@ -33,14 +33,11 @@ const StyledBaselineBackground = styled.div`
|
|||||||
|
|
||||||
const Baseline = ({
|
const Baseline = ({
|
||||||
children
|
children
|
||||||
}) => {
|
}) => (
|
||||||
|
|
||||||
return (
|
|
||||||
<StyledBaselineBackground>
|
<StyledBaselineBackground>
|
||||||
{children}
|
{children}
|
||||||
</StyledBaselineBackground>
|
</StyledBaselineBackground>
|
||||||
);
|
);
|
||||||
};
|
|
||||||
|
|
||||||
Baseline.propTypes = {
|
Baseline.propTypes = {
|
||||||
children: React.PropTypes.node,
|
children: React.PropTypes.node,
|
||||||
|
Loading…
Reference in New Issue
Block a user