useOption.d.ts 259 B

12345678
  1. import type { IOptionV2Props } from './token';
  2. import type { OptionEmitFn } from './defaults';
  3. export declare function useOption(props: IOptionV2Props, { emit }: {
  4. emit: OptionEmitFn;
  5. }): {
  6. hoverItem: () => void;
  7. selectOptionClick: () => void;
  8. };