UNPKG

tdesign-vue

Version:
11 lines (10 loc) 450 B
import { TreeStore } from '../../_common/js/tree/tree-store'; import { TreeProps, TypeTreeState } from '../tree-types'; export default function useTreeStore(state: TypeTreeState): { store: TreeStore; rebuild: (list: TreeProps['data']) => void; checkFilterExpand: (newFilter: null | Function, previousFilter: null | Function) => void; updateStoreConfig: () => void; updateExpanded: () => void; expandFilterPath: () => void; };