mirror of
https://github.com/yldio/copilot.git
synced 2025-01-08 01:50:13 +02:00
27 lines
450 B
JavaScript
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
|
|
);
|