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

29 lines
435 B
JavaScript
Raw Normal View History

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;