1
0
mirror of https://github.com/yldio/copilot.git synced 2025-01-09 10:30:12 +02:00
copilot/ui/src/components/payment-card/details.js

36 lines
537 B
JavaScript
Raw Normal View History

2017-02-15 03:19:26 +02:00
const composers = require('../../shared/composers');
const fns = require('../../shared/functions');
const React = require('react');
const Styled = require('styled-components');
const {
remcalc
} = fns;
2017-02-15 03:19:26 +02:00
const {
Baseline
} = composers;
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
};
2017-02-15 03:19:26 +02:00
module.exports = Baseline(
Details
);