diff --git a/package.json b/package.json index dca36c3..ac1828d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "shadncn-tree-view", - "version": "1.0.2", + "version": "1.0.3", "description": "", "main": "index.js", "scripts": { diff --git a/src/tree-view.tsx b/src/tree-view.tsx index bf536d5..35f8596 100644 --- a/src/tree-view.tsx +++ b/src/tree-view.tsx @@ -108,6 +108,7 @@ const TreeView = React.forwardRef( ) } ) +TreeView.displayName = 'TreeView' type TreeItemProps = TreeProps & { selectedItemId?: string @@ -163,6 +164,7 @@ const TreeItem = React.forwardRef( ) } ) +TreeItem.displayName = 'TreeItem' const TreeNode = ({ item, @@ -273,6 +275,7 @@ const TreeLeaf = React.forwardRef< ) } ) +TreeLeaf.displayName = 'TreeLeaf' const AccordionTrigger = React.forwardRef< React.ElementRef,