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