created:12/30/2020
updated:12/30/2020
loc
5
comments
0
Array
@component-controls/core
3.14.6Name | Description | Default | Controls |
---|---|---|---|
text | text | Button | |
buttons | array | [ { "label": "Button 1", "style": { "color": "red", "backgroundColor": "white", "padding": 0 } }, { "label": "Button 2", "style": { "color": "white", "backgroundColor": "black", "padding": 15 } } ] |
Name | Description | Default | |
---|---|---|---|
ComponentControlArray(4 properties) | |||
type | ControlTypes.ARRAY | - | |
rowType | type of the items in each row of the array ComponentControls<ComponentControl<any>> | - | |
editLabel | the label for the editor button string | - | |
inline | if true, the editor will be rendered inline instead of a popup boolean | - | |
ComponentControlBase(9 properties) |
file | imports |
---|---|
"../../controls" | ComponentControlArray |
"./types" | AsReactComponent |