UNPKG

@nutui/nutui

Version:

京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)

9 lines (8 loc) 622 B
import type { VNode, InjectionKey, VNodeNormalizedChildren, ComponentInternalInstance } from 'vue'; export declare function flattenVNodes(children: VNodeNormalizedChildren, childName?: string): VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>[]; export declare function sortChildren(parent: ComponentInternalInstance, internalChildren: ComponentInternalInstance[], childName?: string): void; export declare function useProvide<ProvideValue>(key: InjectionKey<ProvideValue>, childName?: string): (value?: ProvideValue) => { internalChildren: ComponentInternalInstance[]; };