| 10 | import { FormPostErrors } from './form-errors'; |
| 11 | |
| 12 | interface FormInputProps { |
| 13 | id: string; |
| 14 | label?: string; |
| 15 | type?: string; |
| 16 | placeholder?: string; |
| 17 | required?: boolean; |
| 18 | disabled?: boolean; |
| 19 | errors?: Record<string, string[] | undefined>; |
| 20 | className?: string; |
| 21 | defaultValue?: string; |
| 22 | onBlur?: () => void; |
| 23 | onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void; |
| 24 | } |
| 25 | |
| 26 | export const FormPostInput = forwardRef<HTMLInputElement, FormInputProps>( |
| 27 | ( |
nothing calls this directly
no outgoing calls
no test coverage detected