Skip to content

Commit dea3d2e

Browse files
committed
revert: accidentally included to PR, now reverted back to original
1 parent 2b8abb6 commit dea3d2e

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

packages/server-api/src/plugin.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,21 @@ export interface Plugin {
134134
schema: object | (() => object)
135135

136136
/**
137-
* A [uiSchema object](https://rjsf-team.github.io/react-jsonschema-form/docs/api-reference/uiSchema) which is used to control how the user interface is rendered in the Admin UI.
137+
* A [uiSchema object](https://github.com/mozilla-services/react-jsonschema-form#the-uischema-object) which is used to control how the user interface is rendered in the Admin UI.
138138
*
139-
* For more information, see the [RJSF documentation on uiSchema](https://rjsf-team.github.io/react-jsonschema-form/docs/api-reference/uiSchema)
139+
* For more information, see [react-jsonschema-form-extras](https://github.com/RxNT/react-jsonschema-form-extras#collapsible-fields-collapsible)
140+
*
141+
* @example
142+
* Make all data in an object called 'myObject' collapsible:
143+
* ```javascript
144+
* uiSchema['myObject'] = {
145+
* 'ui:field': 'collapsible',
146+
* collapse: {
147+
* field: 'ObjectField',
148+
* wrapClassName: 'panel-group'
149+
* }
150+
* }
151+
* ```
140152
*
141153
* @category Configuration
142154
*/

0 commit comments

Comments
 (0)