diff --git a/packages/docs/docs/api-reference/form-props.md b/packages/docs/docs/api-reference/form-props.md index d9c0206f36..22157f9783 100644 --- a/packages/docs/docs/api-reference/form-props.md +++ b/packages/docs/docs/api-reference/form-props.md @@ -163,10 +163,6 @@ The value of this prop will be passed to the `enctype` [HTML attribute on the fo This prop allows passing in custom errors that are augmented with the existing JSON Schema errors on the form; it can be used to implement asynchronous validation. See [Validation](../usage/validation.md) for more information. -## ErrorList - -You can pass a React component to this prop to customize how form errors are displayed. See [Validation](../usage/validation.md) for more information. - ## fields Dictionary of registered fields in the form. See [Custom Widgets and Fields](../advanced-customization/custom-widgets-fields.md) for more information. diff --git a/packages/docs/docs/migration-guides/v5.x upgrade guide.md b/packages/docs/docs/migration-guides/v5.x upgrade guide.md index 8df6fce8bc..77ffde6f74 100644 --- a/packages/docs/docs/migration-guides/v5.x upgrade guide.md +++ b/packages/docs/docs/migration-guides/v5.x upgrade guide.md @@ -542,7 +542,7 @@ or ```tsx import { withTheme } from '@rjsf/core'; -import Theme from '@rjsf/material-ui/v5'; +import { Theme } from '@rjsf/material-ui/v5'; // Make modifications to the theme with your own fields and widgets const Form = withTheme(Theme); ``` @@ -551,7 +551,7 @@ or ```tsx import { withTheme } from '@rjsf/core'; -import Theme5 from '@rjsf/material-ui'; +import { Theme as Theme5 } from '@rjsf/material-ui'; // Make modifications to the theme with your own fields and widgets const Form = withTheme(Theme5); ``` @@ -566,7 +566,7 @@ or ```tsx import { withTheme } from '@rjsf/core'; -import Theme from '@rjsf/mui'; +import { Theme } from '@rjsf/mui'; // Make modifications to the theme with your own fields and widgets const Form = withTheme(Theme); ```