UNPKG

@visactor/openinula-vchart

Version:

The openinula version of VChart 4.x

7 lines (6 loc) 539 B
export declare const uid: (prefix?: string) => string; export declare const getDisplayName: (Comp: any) => any; export declare const typeOfComponent: (component: any, customTypeKey?: string) => string; export declare const toArray: <T = ReactNode, TC = ReactNode>(children: T) => TC[]; export declare const findAllByType: <T extends React.ReactNode, TC = unknown>(children: React.ReactNode, type: TC | TC[]) => T[]; export declare const findChildByType: <T extends React.ReactNode, TC = unknown>(children: React.ReactNode, type: TC) => T;