UNPKG

petals-ui

Version:
17 lines (16 loc) 610 B
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 };