UNPKG

@td-design/react-native

Version:

react-native UI组件库

10 lines 722 B
import { PropsWithChildren } from 'react'; import React from 'react'; import { TreeItemProps, TreeProps } from './type'; import { useTree } from './useTree'; declare function TreeGroup({ id, text, disabled, style, textStyle, onPress, customCheckIcon, customExpandIcon, checkable, level, activeOpacity, nodeStyle, currentKeys, openedKeys, handleCheck, handleExpand, flatData, children, }: PropsWithChildren<Pick<TreeProps, 'customExpandIcon' | 'checkable' | 'activeOpacity' | 'nodeStyle'> & Omit<TreeItemProps, 'items'> & ReturnType<typeof useTree> & { level: number; }>): JSX.Element; declare const _default: React.MemoExoticComponent<typeof TreeGroup>; export default _default; //# sourceMappingURL=TreeGroup.d.ts.map