import React from "react"; import BaseControl, { ControlProps } from "./BaseControl"; import { DropdownOption } from "components/constants"; import { KeyValueComponent } from "./KeyValueComponent"; export type DropDownOptionWithKey = DropdownOption & { key: string; }; class OptionControl extends BaseControl { render() { return ( ); } updateOptions = (options: DropdownOption[]) => { this.updateProperty("options", options); }; static getControlType() { return "OPTION_INPUT"; } } export default OptionControl;