import React , { FC } from 'react' ; import * as Styled from './TextHeader.styles' ; export interface Props { margin : string ; isBold : boolean ; } TYPOGRAPHY function param { string } margin param { boolean } isBold param { ReactNode } children returns { JSX . Element } const TextHeader = ( { margin , isBold , children } ) : JSX . Element => { return ( < Styled . H3 margin = { margin } isBold = { isBold } > { children } < /Styled.H3>); } ; export default TextHeader ;