fix: broken config type

This commit is contained in:
Ayo 2022-11-05 08:29:16 +01:00
parent 0a0b8ae809
commit a868e4f550

View file

@ -35,11 +35,6 @@ export interface ControlBase {
label?: string;
placeholder?: string;
validators?: string[]; // TODO: implement validator type
options?: string[] | ControlOption[];
}
export interface TextInput extends ControlBase {
type: Exclude<InputType, "checkbox" | "radio" | "submit" | "button">;
}
export interface Checkbox extends ControlBase {