import { FunctionComponent } from 'react'; /** * @example * Something went wrong!; */ const FormError: FunctionComponent<{ children: string | undefined }> = ({ children }) => children ? (
{children}
) : null; export default FormError;