1 | import PropTypes from 'prop-types';
|
2 | import { createComponent } from 'cf-style-container';
|
3 |
|
4 | var 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 |
|
14 | ModalTitle.setDisplayName('ModalTitle');
|
15 |
|
16 | ModalTitle.propTypes = {
|
17 | children: PropTypes.node
|
18 | };
|
19 |
|
20 | export default ModalTitle; |
\ | No newline at end of file |