mirror of
https://github.com/yldio/copilot.git
synced 2025-01-09 10:30:12 +02:00
29 lines
435 B
JavaScript
29 lines
435 B
JavaScript
|
const React = require('react');
|
||
|
const Styled = require('styled-components');
|
||
|
const fns = require('../../shared/functions');
|
||
|
|
||
|
const {
|
||
|
remcalc
|
||
|
} = fns;
|
||
|
|
||
|
const {
|
||
|
default: styled
|
||
|
} = Styled;
|
||
|
|
||
|
const Container = styled.div`
|
||
|
flex: none;
|
||
|
padding: ${remcalc(12)};
|
||
|
`;
|
||
|
|
||
|
const Details = (props) => (
|
||
|
<Container>
|
||
|
{props.children}
|
||
|
</Container>
|
||
|
);
|
||
|
|
||
|
Details.propTypes = {
|
||
|
children: React.PropTypes.node
|
||
|
};
|
||
|
|
||
|
module.exports = Details;
|