1
0
mirror of https://github.com/yldio/copilot.git synced 2025-01-08 01:50:13 +02:00
copilot/ui/src/components/payment-card/details.js
2017-02-23 15:09:27 +00:00

27 lines
450 B
JavaScript

import React from 'react';
import { Baseline } from '../../shared/composers';
import { remcalc } from '../../shared/functions';
import styled from 'styled-components';
const Container = styled.div`
flex: none;
padding: ${remcalc(12)};
`;
const Details = ({
children,
...props
}) => (
<Container {...props}>
{children}
</Container>
);
Details.propTypes = {
children: React.PropTypes.node
};
export default Baseline(
Details
);