2017-02-20 18:15:36 +02:00
|
|
|
import React from 'react';
|
|
|
|
import { Baseline } from '../../shared/composers';
|
|
|
|
import { remcalc } from '../../shared/functions';
|
|
|
|
import styled from 'styled-components';
|
2017-01-30 19:22:01 +02:00
|
|
|
|
|
|
|
const Container = styled.div`
|
|
|
|
flex: none;
|
|
|
|
padding: ${remcalc(12)};
|
|
|
|
`;
|
|
|
|
|
2017-02-20 18:15:36 +02:00
|
|
|
const Details = ({
|
|
|
|
children,
|
|
|
|
...props
|
|
|
|
}) => (
|
|
|
|
<Container {...props}>
|
|
|
|
{children}
|
2017-01-30 19:22:01 +02:00
|
|
|
</Container>
|
|
|
|
);
|
|
|
|
|
|
|
|
Details.propTypes = {
|
|
|
|
children: React.PropTypes.node
|
|
|
|
};
|
|
|
|
|
2017-02-20 18:15:36 +02:00
|
|
|
export default Baseline(
|
2017-02-15 03:19:26 +02:00
|
|
|
Details
|
|
|
|
);
|