index.d.ts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. import { PickerGroupProps } from './PickerGroup';
  2. export declare const PickerGroup: import("../utils").WithInstall<import("vue").DefineComponent<{
  3. tabs: {
  4. type: import("vue").PropType<string[]>;
  5. default: () => never[];
  6. };
  7. } & {
  8. title: StringConstructor;
  9. cancelButtonText: StringConstructor;
  10. confirmButtonText: StringConstructor;
  11. }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  12. tabs: {
  13. type: import("vue").PropType<string[]>;
  14. default: () => never[];
  15. };
  16. } & {
  17. title: StringConstructor;
  18. cancelButtonText: StringConstructor;
  19. confirmButtonText: StringConstructor;
  20. }>> & {
  21. onCancel?: ((...args: any[]) => any) | undefined;
  22. onConfirm?: ((...args: any[]) => any) | undefined;
  23. }, {
  24. tabs: string[];
  25. }>>;
  26. export default PickerGroup;
  27. export { pickerGroupProps } from './PickerGroup';
  28. export type { PickerGroupProps };
  29. export type { PickerGroupThemeVars } from './types';
  30. declare module 'vue' {
  31. interface GlobalComponents {
  32. VanPickerGroup: typeof PickerGroup;
  33. }
  34. }