import React from "react"; import FormControlFactory from "./FormControlFactory"; import InputTextControl, { InputControlProps, } from "components/formControls/InputTextControl"; import DropDownControl, { DropDownControlProps, } from "components/formControls/DropDownControl"; import SwitchControl, { SwitchControlProps, } from "components/formControls/SwitchControl"; import KeyValueArrayControl, { KeyValueArrayProps, } from "components/formControls/KeyValueArrayControl"; import KeyValueInputControl, { KeyValueInputProps, } from "components/formControls/KeyValueInputControl"; import FilePickerControl, { FilePickerControlProps, } from "components/formControls/FilePickerControl"; class FormControlRegistry { static registerFormControlBuilders() { FormControlFactory.registerControlBuilder("INPUT_TEXT", { buildPropertyControl(controlProps: InputControlProps): JSX.Element { return ; }, }); FormControlFactory.registerControlBuilder("DROP_DOWN", { buildPropertyControl(controlProps: DropDownControlProps): JSX.Element { return ; }, }); FormControlFactory.registerControlBuilder("SWITCH", { buildPropertyControl(controlProps: SwitchControlProps): JSX.Element { return ; }, }); FormControlFactory.registerControlBuilder("KEYVALUE_ARRAY", { buildPropertyControl(controlProps: KeyValueArrayProps): JSX.Element { return ; }, }); FormControlFactory.registerControlBuilder("FILE_PICKER", { buildPropertyControl(controlProps: FilePickerControlProps): JSX.Element { return ; }, }); FormControlFactory.registerControlBuilder("KEY_VAL_INPUT", { buildPropertyControl(controlProps: KeyValueInputProps): JSX.Element { return ; }, }); } } export default FormControlRegistry;