UNPKG

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