gushidianzibao-h5/node_modules/naive-ui/lib/_utils/vue/get-first-slot-vnode.d.ts

4 lines
293 B
TypeScript
Raw Normal View History

import type { Slots, VNode } from 'vue';
2025-04-15 16:38:39 +08:00
export declare function getFirstSlotVNode(slots: Slots, slotName?: string, props?: unknown): VNode | null;
export declare function getFirstSlotVNodeWithTypedProps<T>(slotName: string, slot: ((props: T) => VNode[]) | undefined, props: T): VNode | null;