A next-generation tool to create blazing-fast documentation sites
API
created:12/30/2020
updated:12/30/2020
loc
5
comments
0

Array

@component-controls/core
3.14.6
import { ArrayControl } from '@component-controls/core';

Array Nested

Button
Name
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)

Commits

Date
Author
Commit Message
6/16/2020

atanasster

avatar of atanasster
chore: merge specification into core package
1 commits
file
imports
"../../controls"
ComponentControlArray
"./types"
AsReactComponent

Stories

Overview

Button