-
-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tree): updated defaultTreeItemRenderer for class names
The `defaultTreeItemRenderer` will now correctly pass the `className` and `liClassName` attributes as props to the `TreeItem` by default. This helps with overriding the default styles of when using the `Layout`'s navigation tree. Note: You'll still need to use the `getItemProps` prop if you want to specify custom styles while the tree item is `active` (`selected` state) Closes #920
- Loading branch information
Showing
3 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters