@aimake/nanod
Version:
## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。
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[];