You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
644 B

3 months ago
  1. import type { ISelectV2Props } from './token';
  2. import type { Option } from './select.types';
  3. export interface Props {
  4. label?: string;
  5. value?: string;
  6. disabled?: string;
  7. options?: string;
  8. }
  9. export declare const defaultProps: Required<Props>;
  10. export declare function useProps(props: Pick<ISelectV2Props, 'props'>): {
  11. aliasProps: import("vue").ComputedRef<{
  12. label: string;
  13. value: string;
  14. disabled: string;
  15. options: string;
  16. }>;
  17. getLabel: (option: Option) => any;
  18. getValue: (option: Option) => any;
  19. getDisabled: (option: Option) => any;
  20. getOptions: (option: Option) => any;
  21. };