-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Honor icon/rightIcon on entries with children #1613
Conversation
What about the children themselves? |
I haven't test/change them, but I believe if they have an icon defined they will show up. For interest page only top entries have icons though. I will check for completeness early tomorrow |
Regarding https://github.com/NoRedInk/NoRedInk/pull/47192 can the example in the component catalog be updated to reflect that an icon can either be a UiIcon or, what, arbitrary html, unicode number? |
Children with icons will show up as expected. If only some have them then they will look missaligned. Regarding https://github.com/NoRedInk/NoRedInk/pull/47192 the workaround I am doing is create an svg on the fly with |
Yes, that makes sense. I just wasn’t sure what you had implemented there. But no action needed then. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
🔧 Modifying a component
Context
As part of KRA-1345 we are going to use SideNav.icon for the emoji. We noticed that the icons are not rendered for entries with children. This PR fixes that.
🖼️ What does this change look like?
Before this PR (with both entries using SideNav.icon)
After this PR
Component completion checklist
nriDescription