mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Update index.d.ts (#43635)
Adding rawErrors to the individual widget so errors can be rendered inside the widget
This commit is contained in:
+1
@@ -124,6 +124,7 @@ declare module 'react-jsonschema-form' {
|
||||
onBlur: (id: string, value: boolean | number | string | null) => void;
|
||||
onFocus: (id: string, value: boolean | number | string | null) => void;
|
||||
label: string;
|
||||
rawErrors: string[];
|
||||
}
|
||||
|
||||
export type Widget = React.StatelessComponent<WidgetProps> | React.ComponentClass<WidgetProps>;
|
||||
|
||||
Reference in New Issue
Block a user