<EditableControl> Component
<EditableControl> is an editable simple box layout component with built-in variants, states, and valid/invalid indicator.
<EditableControl> Component<EditableControl> is an editable simple box layout component with built-in variants, states, and valid/invalid indicator.
<EditableControl> ComponentThere are 2 ways to install <EditableControl> component into your react app project:
<EditableControl> Component<EditableControl> ComponentThe alternative appearances of the <EditableControl> layout without changing the <EditableControl>'s functionality.
size PropertyDefines the alternative size of the <EditableControl>.
The possible values are:
undefined'sm''md''lg'Here the preview:
theme PropertyDefines the contextual theme of the <EditableControl>.
The possible values are:
undefined'primary''secondary''success''info''warning''danger''light''dark'Here the preview:
gradient PropertyActivates a 3D mode of the <EditableControl>.
The possible values are:
undefined'inherit'truefalseHere the preview:
outlined PropertyActivates an outlined mode (background-less, contrast foreground, and contrast border) of the <EditableControl>.
The possible values are:
undefined'inherit'truefalseHere the preview:
mild PropertyActivates a mild mode (mild background, contrast foreground, and contrast border) of the <EditableControl>.
The possible values are:
undefined'inherit'truefalseHere the preview:
nude PropertyActivates an nude mode (background-less, padding-less, and border-less) of the <EditableControl>.
The possible values are:
undefinedtruefalseHere the preview:
The conditions of the <EditableControl> behavior or functionality.
enabled PropertyDefines the enabled/disabled state of the <EditableControl>.
The possible values are:
undefinedtruefalseHere the preview:
inheritEnabled PropertyInfluences the <EditableControl>'s disabled state by <ancestor enabled={false}>.
The possible values are:
undefinedtruefalseHere the preview:
readOnly PropertyDefines the readOnly/mutable state of the <EditableControl>.
The possible values are:
undefinedtruefalseinheritReadOnly PropertyInfluences the <EditableControl>'s readOnly by <ancestor readOnly={true}>.
The possible values are:
undefinedtruefalseactive PropertyDefines the current active state of the <EditableControl>.
The possible values are:
undefinedtruefalseHere the preview:
inheritActive PropertyInfluences the <EditableControl>'s active state by <ancestor active={true}>.
The possible values are:
undefinedtruefalseHere the preview:
enableValidation PropertyActivates the valid/invalid indicator of the <EditableControl>.
The possible values are:
undefinedtruefalseisValid PropertyMarks the validity status of the <EditableControl>.
The possible values are:
undefinednulltruefalseHere the preview:
inheritValidation PropertyInfluences the <EditableControl>'s valid/invalid indicator by <ancestor isValid={true|false} enableValidation={true}>.
The possible values are:
undefinedtruefalseBecause <EditableControl> is made from <Control>, so all properties from <Control> are inherited.
There are several variables of <EditableControl> you can customize. Changing the variables affects all <EditableControl> instance and other components that depend on <EditableControl>.
Here the exposed variables:
The example of accessing, modifying, & adding variables: