on 05c1914 help sign in
26 lines 418 B history raw
1import React from 'react';
2import PropTypes from 'prop-types'
4const H3 = ({ className, children, style }) => {
5 return (
6 <h3 className={`mt-8 pt-3 mb-4 measure-md ${className}`} style={style}>
7 { children }
8 </h3>
9 )
13H3.propTypes = {
14 className: PropTypes.string,
15 children: PropTypes.node,
16 style: PropTypes.object,
17};
20H3.defaultProps = {
21 className: '',
22 style: {},
23};
26export default H3;