aboutsummaryrefslogtreecommitdiffstats
path: root/src/react/ModalTitle.js
blob: b48cc8af06120662a72a1d16667ac6cb0fb9fb37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import React from 'react';
import PropTypes from 'prop-types';

const Title = ({children, className}) => (
    <div className={`title ${className}`} >
        {children}
    </div>
);

Title.PropTypes = {
	children: PropTypes.node,
	className: PropTypes.string
};

Title.defaultProps = {
	className: ''
};

export default Title;