import { AnimatePresence, Paragraph } from 'tamagui' type FieldErrorProps = { /** * error will be hidden if undefined */ message?: string } export const FieldError = ({ message }: FieldErrorProps) => { return ( {!!message && ( {message} )} ) }