type BaseFormInputProps = { onChange: (value: T) => void; value: T; error?: string | null; }; export default BaseFormInputProps;