import React from 'react' import { Heading as BaseHeading } from 'rebass' /** * @render react * @name Heading * @example * */ class Heading extends React.PureComponent { static displayName = 'Heading' render() { return ( ) } } Heading.h1 = props => Heading.h2 = props => Heading.h3 = props => Heading.h4 = props => Heading.h5 = props => Heading.h6 = props => Heading.h1.displayName = 'Heading1' Heading.h2.displayName = 'Heading2' Heading.h3.displayName = 'Heading3' Heading.h4.displayName = 'Heading4' Heading.h5.displayName = 'Heading5' Heading.h6.displayName = 'Heading6' export default Heading