on d760cbf help sign in
23 lines 416 B history raw
1import React from 'react';
2import PropTypes from 'prop-types';
4const H4 = ({ className, children, style }) => {
5 return (
6 <h4 className={`mt-2 pt-1 mb-2 measure-md ${className}`} style={style}>
7 {children}
8 </h4>
9 );
10};
12H4.propTypes = {
13 className: PropTypes.string,
14 children: PropTypes.node,
15 style: PropTypes.object,
16};
18H4.defaultProps = {
19 className: '',
20 style: {},
21};
23export default H4;