vuux
Version:
Vue3 Nuxt3 Nuxt4 组件库
14 lines (13 loc) • 392 B
TypeScript
import { NodeProps, TableColumn } from '../types';
/**
* hook
*
* @param props 组件属性
*/
export declare const useTableNode: (props: NodeProps) => {
getStyle: (index: number) => string | null;
classNames: (column: TableColumn) => string;
isMore: (node: any, index: number) => boolean;
handleToggle: (item: any) => void;
selectChange: (value: boolean) => void;
};