import React , { ReactNode } from 'react' ; type HelpProps = React . ComponentPropsWithoutRef < 'small' > & { message ? : ReactNode ; isVisible ? : boolean ; } ; const HelpMessage = ( { message , isVisible = true } ) => isVisible && < small className = "af-form__help" > { message } < /small>; export default HelpMessage ;