mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 07:10:05 +02:00
refactoring baseline component
This commit is contained in:
parent
6bf348659b
commit
ee4d78cdce
@ -33,14 +33,11 @@ const StyledBaselineBackground = styled.div`
|
||||
|
||||
const Baseline = ({
|
||||
children
|
||||
}) => {
|
||||
|
||||
return (
|
||||
}) => (
|
||||
<StyledBaselineBackground>
|
||||
{children}
|
||||
</StyledBaselineBackground>
|
||||
);
|
||||
};
|
||||
|
||||
Baseline.propTypes = {
|
||||
children: React.PropTypes.node,
|
||||
|
Loading…
Reference in New Issue
Block a user