Table of contents
Overview
Some of the guiding design goals for this library:
- Extensible using
addPropertyEditor
, so you can replace or add new editors. - All editors offer a consistent interface through the
getPropertyEditor
factory.
List of components
addPropertyEditor
react function
defined in @component-controls/editors/core/specification/src/prop-factory.ts
parameters
Name | Type | Description |
---|---|---|
type* |
ControlTypes .TEXT , ControlTypes .NUMBER , ControlTypes .BOOLEAN , ControlTypes .OPTIONS , ControlTypes .DATE , ControlTypes .COLOR , ControlTypes .BUTTON , ControlTypes .OBJECT , ControlTypes .ARRAY , ControlTypes .FILES
|
Control field types examples are provided for the different types: |
editor* |
|
: a Property Editor class. |