UNPKG

@td-design/react-native

Version:

react-native UI组件库

9 lines 488 B
import { TreeProps } from './type'; export declare function useTree({ data, checkable, checkedKeys, defaultCheckedKeys, onCheck, defaultExpandedKeys, expandedKeys, expandAll, onExpand, }: Omit<TreeProps, 'disabled' | 'showIcon' | 'style' | 'customExpandIcon'>): { currentKeys: string[]; openedKeys: string[]; flatData: import("./type").FlattenTreeItem[]; handleCheck: (key: string) => void; handleExpand: (key: string) => void; }; //# sourceMappingURL=useTree.d.ts.map