dtd
Version:
根据数梦工场视觉规范打造的组件库,感谢react-components和ant design
6 lines (5 loc) • 392 B
TypeScript
import * as React from 'react';
export declare function flatArray(data?: any[], childrenName?: string): any[];
export declare function treeMap<Node>(tree: Node[], mapper: (node: Node, index: number) => any, childrenName?: string): any[];
export declare function flatFilter(tree: any[], callback: Function): any;
export declare function normalizeColumns(elements: React.ReactChildren): any[];