We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d8f393 commit abb258dCopy full SHA for abb258d
packages/docs/docs/guides/rendering.mdx
@@ -42,7 +42,7 @@ function App() {
42
}}
43
renderItemTitle={({ title }) => <span>{title}</span>}
44
renderItemArrow={({ item, context }) =>
45
- item.isFolder ? context.isExpanded ? <span>{'v '}</span> : <span>{'> '}</span> : null
+ item.isFolder ? <span {...context.arrowProps}>{context.isExpanded ? 'v ' : '> '}</span> : null
46
}
47
renderItem={({ title, arrow, depth, context, children }) => (
48
<li
0 commit comments