-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(component): replaced SideNavIcon.js -> SideNavIcon.tsx component #14889
feat(component): replaced SideNavIcon.js -> SideNavIcon.tsx component #14889
Conversation
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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!
Thank you for the contribution @Nirajsah !! |
I'm glad I could help 😊 |
5b203db
Closes #13601
I successfully replaced the
SideNavIcon.js
component withSideNavIcon.tsx
along with the corresponding type definitions. I have also executed tests, and they ran without any issues. Although there was an issue resulting in a "build failed" status, I addressed the situation by making thesmall
prop optional in theSideNavIcon
component. To ensure its functionality even when not provided, a default value offalse
is assigned.Changelog
New
Changed
SideNavIcon.js
toSideNavIcon.tsx
small
prop as optional in SideNavIconProps.Removed
Testing / Reviewing
SideNavIcon.tsx
file and its associated TypeScript types for correctness and completeness.Please provide feedback and verify the changes. My last PR failed because of the issue i mentioned above, it's resolved now.