@data-driven-forms/react-form-renderer
Version:
React Form Renderer. Data Driven Forms converts JSON form definitions into fully functional React forms.
24 lines (23 loc) • 871 B
TypeScript
declare const componentTypes: {
readonly TEXT_FIELD: "text-field";
readonly FIELD_ARRAY: "field-array";
readonly CHECKBOX: "checkbox";
readonly SUB_FORM: "sub-form";
readonly RADIO: "radio";
readonly TABS: "tabs";
readonly TAB_ITEM: "tab-item";
readonly DATE_PICKER: "date-picker";
readonly TIME_PICKER: "time-picker";
readonly WIZARD: "wizard";
readonly SWITCH: "switch";
readonly TEXTAREA: "textarea";
readonly SELECT: "select";
readonly PLAIN_TEXT: "plain-text";
readonly BUTTON: "button";
readonly INPUT_ADDON_GROUP: "input-addon-group";
readonly INPUT_ADDON_BUTTON_GROUP: "input-addon-button-group";
readonly DUAL_LIST_SELECT: "dual-list-select";
readonly SLIDER: "slider";
};
export type ComponentType = (typeof componentTypes)[keyof typeof componentTypes];
export default componentTypes;