Skip to content

Commit f647ec0

Browse files
committed
chore: improve docs on custom tree items in relation to renaming
1 parent d9289e9 commit f647ec0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/docs/docs/guides/rendering.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,13 @@ renderItem={({ title, arrow, depth, context, children }) => {
115115
<li
116116
{...context.itemContainerWithChildrenProps}
117117
>
118-
<button
118+
<InteractiveComponent
119119
{...context.itemContainerWithoutChildrenProps}
120120
{...context.interactiveElementProps}
121121
>
122122
{ arrow }
123123
{ title }
124-
</button>
124+
</InteractiveComponent>
125125
</li>
126126
{children}
127127
</>

0 commit comments

Comments
 (0)