Skip to content

Commit

Permalink
fix docs example
Browse files Browse the repository at this point in the history
  • Loading branch information
snowystinger committed Jan 29, 2025
1 parent 66e6c0c commit c25fcd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@react-spectrum/tree/docs/TreeView.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ let items: MyItem[] = [
const DynamicTreeItem = (props) => {
return (
<>
<TreeViewItem childItems={props.childItems} textValue={props.name}>
<TreeViewItem id={props.id} childItems={props.childItems} textValue={props.name}>
<TreeItemContent>
<Text>{props.name}</Text>
{props.icon}
Expand Down

0 comments on commit c25fcd1

Please sign in to comment.