@authup/client-web-kit
Version:
This package contains vue components.
21 lines • 549 B
TypeScript
import type { Slots, VNode } from 'vue';
/**
* Returns true if either scoped or unscoped named slot exists
*
* @returns boolean
*
* @param name
* @param $slots
*/
export declare function hasNormalizedSlot(name: string, $slots?: Slots): boolean;
/**
* Returns VNodes for named slot either scoped or unscoped
*
* @param name
* @param scope
* @param $slots
*
* @returns {Array} VNodes
*/
export declare function normalizeSlot(name: string, scope?: Record<string, any>, $slots?: Slots): VNode[] | VNode;
//# sourceMappingURL=slot.d.ts.map