petals-ui
Version:
Front-end UI components foundation
17 lines (16 loc) • 610 B
TypeScript
import { IInputtableFormControl } from '../../form-control';
import { OptionValueType, SelectValueType } from './aliases';
interface ISelectComponent extends Omit<IInputtableFormControl<SelectValueType>, 'onInput'> {
readonly multiple: boolean;
readonly popupAppendToBody: boolean;
}
interface ISelectOptionComponent {
readonly value: OptionValueType;
readonly label: string;
readonly disabled: boolean;
}
interface ISelectOptionGroupComponent {
readonly label: string;
readonly disabled: boolean;
}
export { ISelectComponent, ISelectOptionComponent, ISelectOptionGroupComponent };