UNPKG

1.72 kBTypeScriptView Raw
1import { type PropType, type ExtractPropTypes } from 'vue';
2import { type BadgeProps } from '../badge';
3export declare const sidebarItemProps: {
4 to: PropType<import("vue-router").RouteLocationRaw>;
5 url: StringConstructor;
6 replace: BooleanConstructor;
7} & {
8 dot: BooleanConstructor;
9 title: StringConstructor;
10 badge: (NumberConstructor | StringConstructor)[];
11 disabled: BooleanConstructor;
12 badgeProps: PropType<Partial<BadgeProps>>;
13};
14export type SidebarItemProps = ExtractPropTypes<typeof sidebarItemProps>;
15declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
16 to: PropType<import("vue-router").RouteLocationRaw>;
17 url: StringConstructor;
18 replace: BooleanConstructor;
19} & {
20 dot: BooleanConstructor;
21 title: StringConstructor;
22 badge: (NumberConstructor | StringConstructor)[];
23 disabled: BooleanConstructor;
24 badgeProps: PropType<Partial<BadgeProps>>;
25}>, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
26 to: PropType<import("vue-router").RouteLocationRaw>;
27 url: StringConstructor;
28 replace: BooleanConstructor;
29} & {
30 dot: BooleanConstructor;
31 title: StringConstructor;
32 badge: (NumberConstructor | StringConstructor)[];
33 disabled: BooleanConstructor;
34 badgeProps: PropType<Partial<BadgeProps>>;
35}>> & Readonly<{
36 onClick?: ((...args: any[]) => any) | undefined;
37}>, {
38 replace: boolean;
39 dot: boolean;
40 disabled: boolean;
41}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42export default _default;
43
\No newline at end of file