@volverjs/ui-vue
Version:
@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.
49 lines (48 loc) • 1.52 kB
TypeScript
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<globalThis.ExtractPropTypes<{
items: {
type: PropType<import("../../index.js").NavItem[]>;
default: () => never[];
};
modifiers: {
type: PropType<string | string[]>;
default: undefined;
};
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
items: {
type: PropType<import("../../index.js").NavItem[]>;
default: () => never[];
};
modifiers: {
type: PropType<string | string[]>;
default: undefined;
};
}>> & Readonly<{}>, {
modifiers: string | string[];
items: import("../../index.js").NavItem[];
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
default?: (props: {}) => any;
} & {
item?: (props: {
item: {
label: string;
ariaLabel?: string;
title?: string;
to?: string | Record<string, unknown>;
href?: string;
target?: string;
rel?: string;
disabled?: boolean;
current?: boolean;
class?: string | string[];
};
data: Record<string, unknown> | undefined;
index: number;
}) => any;
}>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};