UNPKG

500 BJavaScriptView Raw
1import PropTypes from 'prop-types';
2import { createComponent } from 'cf-style-container';
3
4var ModalBody = createComponent(function (_ref) {
5 var theme = _ref.theme;
6 return {
7 position: 'relative',
8 paddingLeft: theme.space[4],
9 paddingRight: theme.space[4],
10 paddingBottom: theme.space[4],
11 paddingTop: theme.space[0],
12 fontSize: theme.fontSizes[3]
13 };
14});
15ModalBody.setDisplayName('ModalBody');
16
17ModalBody.propTypes = {
18 children: PropTypes.node
19};
20
21export default ModalBody;
\No newline at end of file