Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: remove reference to the deprecated uiSchema classNames property #3294

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api-reference/uiSchema.md
Expand Up @@ -90,7 +90,7 @@ See [Custom Widgets and Fields](https://react-jsonschema-form.readthedocs.io/en/

### classNames

The uiSchema object accepts a `classNames` property for each field of the schema:
The uiSchema object accepts a `ui:classNames` property for each field of the schema:

```tsx
import { UiSchema } from "@rjsf/utils";
Expand Down
6 changes: 3 additions & 3 deletions docs/quickstart.md
Expand Up @@ -63,7 +63,7 @@ const schema: RJSFSchema = {
};

const uiSchema: UiSchema = {
classNames: "custom-css-class"
"ui:classNames": "custom-css-class"
};

render((
Expand Down Expand Up @@ -94,10 +94,10 @@ const schema: RJSFSchema = {

const uiSchema: UiSchema = {
name: {
classNames: "custom-class-name"
"ui:classNames": "custom-class-name"
},
age: {
classNames: "custom-class-age"
"ui:classNames": "custom-class-age"
}
}

Expand Down