import React from "react" ; import { text } from "../text/text" ; interface Props { children ? : React . ReactNode ; } export const FormError = ( { children } ) : JSX . Element | null => { if ( ! children ) return null ; return < div className = { text . failureStrong } children = { children } / > ; } ;