'use client'; import { TreeView as ChakraTreeView } from '@chakra-ui/react'; import * as React from 'react'; export const TreeViewRoot = React.forwardRef( function TreeViewRoot(props, ref) { return ; }, ); interface TreeViewTreeProps extends ChakraTreeView.TreeProps {} export const TreeViewTree = React.forwardRef(function TreeViewTree(props, ref) { const { ...rest } = props; return ; }); export const TreeViewBranch = React.forwardRef( function TreeViewBranch(props, ref) { return ; }, ); export const TreeViewBranchControl = React.forwardRef( function TreeViewBranchControl(props, ref) { return ; }, ); export const TreeViewItem = React.forwardRef( function TreeViewItem(props, ref) { return ; }, ); export const TreeViewLabel = ChakraTreeView.Label; export const TreeViewBranchIndicator = ChakraTreeView.BranchIndicator; export const TreeViewBranchText = ChakraTreeView.BranchText; export const TreeViewBranchContent = ChakraTreeView.BranchContent; export const TreeViewBranchIndentGuide = ChakraTreeView.BranchIndentGuide; export const TreeViewItemText = ChakraTreeView.ItemText; export const TreeViewNode = ChakraTreeView.Node; export const TreeViewNodeProvider = ChakraTreeView.NodeProvider; export const TreeView = { Root: TreeViewRoot, Label: TreeViewLabel, Tree: TreeViewTree, Branch: TreeViewBranch, BranchControl: TreeViewBranchControl, BranchIndicator: TreeViewBranchIndicator, BranchText: TreeViewBranchText, BranchContent: TreeViewBranchContent, BranchIndentGuide: TreeViewBranchIndentGuide, Item: TreeViewItem, ItemText: TreeViewItemText, Node: TreeViewNode, NodeProvider: TreeViewNodeProvider, };