Interface FormikWidgetProps
interface FormikWidgetProps { children?: ReactNode; disabled?: boolean; fullWidth?: boolean; label?: ReactNode; onBlur?: { (e): void; <T>(fieldOrEvent): T extends string ? ((e) => void) : void; }; onChange?: { (e): void; <T>(field): T extends ChangeEvent<any> ? void : ((e) => void); }; } Properties
Optional
children
children?: ReactNode
Optional
disabled
disabled?: boolean
Optional
fullWidth
fullWidth?: boolean
Optional
label
label?: ReactNode
Optional
onBlur
onBlur?: { (e): void; <T>(fieldOrEvent): T extends string ? ((e) => void) : void; } Type declaration
- (e): void
Parameters
- e: FocusEvent<any, Element>
Returns void
- <T>(fieldOrEvent): T extends string
? ((e) => void)
: void Returns T extends string
? ((e) => void)
: void
Optional
onChange
onChange?: { (e): void; <T>(field): T extends ChangeEvent<any> ? void : ((e) => void); } Type declaration
- (e): void
Returns void
- <T>(field): T extends ChangeEvent<any>
? void
: ((e) => void) Type Parameters
- T = string | ChangeEvent<any>
Returns T extends ChangeEvent<any>
? void
: ((e) => void)
Classic React blur handler, keyed by input name