2017-05-18 21:21:33 +03:00
|
|
|
import remcalc from 'remcalc';
|
|
|
|
import Baseline from '../baseline';
|
|
|
|
import View from './view';
|
|
|
|
import React from 'react';
|
|
|
|
|
2017-05-25 17:59:58 +03:00
|
|
|
const StyledView = View.extend`
|
2017-05-18 21:21:33 +03:00
|
|
|
display: block;
|
|
|
|
padding: ${remcalc(62, 23, 5, 23)};
|
|
|
|
background-color: ${props => props.grey};
|
|
|
|
`;
|
|
|
|
|
|
|
|
const GroupView = ({ children, ...rest }) => (
|
|
|
|
<StyledView {...rest}>
|
|
|
|
{children}
|
|
|
|
</StyledView>
|
|
|
|
);
|
|
|
|
|
|
|
|
export default Baseline(GroupView);
|