Skip to content

Commit 39b7ebe

Browse files
authored
Merge pull request #641 from rvsia/updateComponentsApi
Add missing components to components API
2 parents a4a7e2e + 7ea00fa commit 39b7ebe

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

packages/react-renderer-demo/src/pages/mappers/component-api.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Basic components that can change the form state (inputs) share common props. The
5353

5454
<ExampleLink to='text-field' />
5555

56-
### Text area
56+
### Textarea
5757

5858
|Prop|Type|Description|
5959
|----|:--:|----------:|
@@ -129,6 +129,36 @@ This component is using [react-day-picker](https://react-day-picker.js.org/docs/
129129

130130
<ExampleLink to='time-picker' />
131131

132+
### Slider
133+
134+
|Prop|Type|Description|
135+
|----|:--:|----------:|
136+
|min|number|The minimum permitted value|
137+
|max|number|The maximum permitted value|
138+
|step|number|The stepping interval|
139+
140+
<ExampleLink to='slider' />
141+
142+
### Dual list select
143+
144+
|Prop|Type|Description|
145+
|----|:--:|----------:|
146+
|options|array|Options in format of { label: 'Label', value: value }|
147+
148+
<ExampleLink to='dual-list-select' />
149+
150+
### Field array
151+
152+
|Prop|Type|Description|
153+
|----|:--:|----------:|
154+
|fields|array|Form fields|
155+
|minItems|number|Minimal number of items|
156+
|maxItems|min|Maximum number of items|
157+
|fields|array|Form fields|
158+
|defaultItem|any|Default item|
159+
160+
<ExampleLink to='field-array' />
161+
132162
## Others components
133163

134164
### Subform
@@ -137,7 +167,7 @@ This component is using [react-day-picker](https://react-day-picker.js.org/docs/
137167
|----|:--:|----------:|
138168
|title|node/string|A title|
139169
|description|node/string|A description|
140-
|fields|array|A form fields|
170+
|fields|array|Form fields|
141171

142172
<ExampleLink to='sub-form' />
143173

0 commit comments

Comments
 (0)