UNPKG

@ark-ui/react

Version:

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

7 lines (6 loc) 343 B
import { TreeNode } from '../collection'; import { UseTreeViewReturn } from './use-tree-view'; import { Provider } from 'react'; export interface UseTreeViewContext<T extends TreeNode> extends UseTreeViewReturn<T> { } export declare const TreeViewProvider: Provider<UseTreeViewContext<any>>, useTreeViewContext: () => UseTreeViewContext<any>;