@uiw/react-native
Version:
UIW for React Native
11 lines (10 loc) • 385 B
TypeScript
import { TreeNodeProps } from '../type';
export declare function useTreeNode({ expanded, eventKey, label, checked, disabled, onCheck, data, onClick, show, }: TreeNodeProps): {
progress: number;
heightProgress: number;
style: () => {
height: number;
};
handlerCheck: () => void;
onClick: ((data: import("../type").EventDataNode) => void) | undefined;
};