Option.d.ts 448 B

123456789101112
  1. import type { FunctionalComponent } from 'vue';
  2. import type { DefaultOptionType } from '../vc-select/Select';
  3. export interface OptionProps extends Omit<DefaultOptionType, 'label'> {
  4. /** Save for customize data */
  5. [prop: string]: any;
  6. }
  7. export interface OptionFC extends FunctionalComponent<OptionProps> {
  8. /** Legacy for check if is a Option Group */
  9. isSelectOption: boolean;
  10. }
  11. declare const Option: OptionFC;
  12. export default Option;