UNPKG

@td-design/react-native

Version:

react-native UI组件库

14 lines 627 B
/// <reference types="react-native-reanimated" /> import { LayoutChangeEvent } from 'react-native'; import { TreeItemProps } from './type'; import { useTree } from './useTree'; export default function useGroup({ id, openedKeys, currentKeys, flatData, handleExpand, }: Omit<ReturnType<typeof useTree>, 'handleCheck'> & Pick<TreeItemProps, 'id'>): { bodyStyle: { height: number; }; progress: import("react-native-reanimated").SharedValue<number>; checkStatus: "none" | "all" | "half"; handleLayout: (e: LayoutChangeEvent) => void; handlePress: () => void; }; //# sourceMappingURL=useGroup.d.ts.map