@volverjs/ui-vue
Version:
@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.
65 lines (64 loc) • 1.87 kB
TypeScript
import type { NavItemTab } from '@/types/nav';
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<globalThis.ExtractPropTypes<{
navModifiers: {
type: PropType<string | string[]>;
};
modelValue: {
type: StringConstructor;
default: string;
};
items: {
type: PropType<NavItemTab[]>;
default: () => never[];
};
modifiers: {
type: PropType<string | string[]>;
default: undefined;
};
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
navModifiers: {
type: PropType<string | string[]>;
};
modelValue: {
type: StringConstructor;
default: string;
};
items: {
type: PropType<NavItemTab[]>;
default: () => never[];
};
modifiers: {
type: PropType<string | string[]>;
default: undefined;
};
}>> & Readonly<{}>, {
modelValue: string;
modifiers: string | string[];
items: NavItemTab[];
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
[x: `panel::${string}`]: ((props: {}) => any) | undefined;
} & {
'nav-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;
};
};