UNPKG

@ark-ui/vue

Version:

A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.

6 lines (5 loc) 373 B
import { TreeNode } from '../collection/index.js'; import { UseTreeViewReturn } from './use-tree-view.js'; export interface UseTreeViewContext<T extends TreeNode> extends UseTreeViewReturn<T> { } export declare const TreeViewProvider: (opts: UseTreeViewContext<any>) => void, useTreeViewContext: (fallback?: UseTreeViewContext<any> | undefined) => UseTreeViewContext<any>;