Skip to content

Commit

Permalink
Fix FolderTreeView type
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAndai committed Aug 20, 2024
1 parent 647d206 commit 1d818af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/components/showcase/FolderTreeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ interface CustomLabelProps {
}

function CustomLabel({ color, expandable, children, ...other }: CustomLabelProps) {
let Icon;
let Icon: null | React.ElementType = null;
if (expandable) {
Icon = FolderRounded;
} else {
Expand Down

0 comments on commit 1d818af

Please sign in to comment.