mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 00:21:07 +08:00
Update array type docs
This commit is contained in:
parent
b4c0f68d22
commit
e854e5f179
@ -180,12 +180,12 @@ Here is the full list of available controls you can use:
|
|||||||
|
|
||||||
| Data Type | Control Type | Description | Options |
|
| Data Type | Control Type | Description | Options |
|
||||||
| :---------- | :----------: | :------------------------------------------------------------- | :------------: |
|
| :---------- | :----------: | :------------------------------------------------------------- | :------------: |
|
||||||
| **array** | array | serialize array into a comma-separated string inside a textbox | separator |
|
|
||||||
| | file | a file input that gives you a array of urls | accept |
|
|
||||||
| **boolean** | boolean | checkbox input | - |
|
| **boolean** | boolean | checkbox input | - |
|
||||||
| **number** | number | a numeric text box input | min, max, step |
|
| **number** | number | a numeric text box input | min, max, step |
|
||||||
| | range | a range slider input | min, max, step |
|
| | range | a range slider input | min, max, step |
|
||||||
| **object** | object | json editor text input | - |
|
| **object** | object | json editor text input | - |
|
||||||
|
| **array** | object | json editor text input | - |
|
||||||
|
| | file | a file input that gives you a array of urls | accept |
|
||||||
| **enum** | radio | radio buttons input | - |
|
| **enum** | radio | radio buttons input | - |
|
||||||
| | inline-radio | inline radio buttons input | - |
|
| | inline-radio | inline radio buttons input | - |
|
||||||
| | check | multi-select checkbox input | - |
|
| | check | multi-select checkbox input | - |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user