sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
21 lines (20 loc) • 1.26 kB
TypeScript
import { type MenuOption } from '../menu/common';
import { type PopoverProps, type PopoverSlots, type PopoverEmits } from './common';
declare const _default: <T extends MenuOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
readonly "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
readonly onSelect?: ((option: T) => any) | undefined;
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onSelect" | "onUpdate:visible"> & PopoverProps<T>> & import("vue").PublicProps;
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
attrs: any;
slots: ReturnType<() => Readonly<PopoverSlots> & PopoverSlots>;
emit: PopoverEmits<T> & {};
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}> & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_Prettify<T> = {
[K in keyof T]: T[K];
} & {};