index.d.ts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. export declare const SidebarItem: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
  2. to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
  3. url: StringConstructor;
  4. replace: BooleanConstructor;
  5. } & {
  6. dot: BooleanConstructor;
  7. title: StringConstructor;
  8. badge: (NumberConstructor | StringConstructor)[];
  9. disabled: BooleanConstructor;
  10. badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
  11. }>, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
  12. to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
  13. url: StringConstructor;
  14. replace: BooleanConstructor;
  15. } & {
  16. dot: BooleanConstructor;
  17. title: StringConstructor;
  18. badge: (NumberConstructor | StringConstructor)[];
  19. disabled: BooleanConstructor;
  20. badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
  21. }>> & Readonly<{
  22. onClick?: ((...args: any[]) => any) | undefined;
  23. }>, {
  24. replace: boolean;
  25. dot: boolean;
  26. disabled: boolean;
  27. }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
  28. export default SidebarItem;
  29. export { sidebarItemProps } from './SidebarItem';
  30. export type { SidebarItemProps } from './SidebarItem';
  31. export type { SidebarItemThemeVars } from './types';
  32. declare module 'vue' {
  33. interface GlobalComponents {
  34. VanSidebarItem: typeof SidebarItem;
  35. }
  36. }