import { forwardRef } from "react" interface InputTextProps extends React.InputHTMLAttributes { label?: string error?: string | undefined } export const InputTextR = forwardRef( ({ label, error, ...props }, ref) => { return (
{label && ( )} {false && error &&

{error}

}
) } ) InputTextR.displayName = "InputR"