import React, { ReactElement } from 'react' import styled from 'styled-components' import { DefaultInterface, ComponentResponsiveStyled } from "../../common/helpers/Theme" import { CustomComponent } from "../" interface H3Interface extends DefaultInterface { styles?: any } function H3Base(props: H3Interface): ReactElement { const { children } = props const newProps = Object.assign({}, {...props}) delete newProps.children delete newProps.themed delete newProps.native return (

{ children }

) } const Component: React.FunctionComponent = styled(H3Base)` ${ props => ComponentResponsiveStyled(props, 'h3') } text-align: left; ` export const H3: React.FunctionComponent = (h3Props): ReactElement => { const { native = false } = h3Props return !native ? } /> : }