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