@vendasta/store
Version:
Components and data for Store
15 lines (14 loc) • 428 B
TypeScript
import { ControlType, FieldBase, FieldBaseOptions } from './field-base';
export interface Option {
value: string;
label: string;
disabled?: boolean;
}
export interface DropDownFieldOptions extends FieldBaseOptions {
options: Option[];
}
export declare class DropdownField extends FieldBase<string> {
readonly controlType: ControlType;
options: Option[];
constructor(options: DropDownFieldOptions);
}