@uozi-admin/layout-antdv
Version:
Easy to implement admin layout
31 lines (30 loc) • 1.26 kB
TypeScript
import { SidebarItem, Text } from '../props';
type __VLS_Props = {
logo?: string;
headerTitle?: Text;
items?: SidebarItem[];
};
type __VLS_PublicProps = {
'drawerVisible'?: boolean;
} & __VLS_Props;
declare function __VLS_template(): any;
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
selectMenuItem: (key: string) => any;
collapseSidebar: (collapsed: boolean) => any;
"update:drawerVisible": (value: boolean) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onSelectMenuItem?: ((key: string) => any) | undefined;
onCollapseSidebar?: ((collapsed: boolean) => any) | undefined;
"onUpdate:drawerVisible"?: ((value: boolean) => any) | undefined;
}>, {
headerTitle: Text;
items: SidebarItem[];
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};