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