Skip to content
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

Merged
merged 3 commits into from
Oct 18, 2023

Conversation

Nirajsah
Copy link
Contributor

Closes #13601

I successfully replaced the SideNavIcon.js component with SideNavIcon.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 the small prop optional in the SideNavIcon component. To ensure its functionality even when not provided, a default value of false is assigned.

Changelog

New

  • None

Changed

  • SideNavIcon.js to SideNavIcon.tsx
  • small prop as optional in SideNavIconProps.

Removed

  • None

Testing / Reviewing

  • Examining the new 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.

@Nirajsah Nirajsah requested a review from a team as a code owner October 12, 2023 12:27
@netlify
Copy link

netlify bot commented Oct 12, 2023

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 304d424
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/652d377ac4a0350008436c2c
😎 Deploy Preview https://deploy-preview-14889--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Nirajsah Nirajsah closed this Oct 12, 2023
@Nirajsah Nirajsah reopened this Oct 12, 2023
@netlify
Copy link

netlify bot commented Oct 12, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 304d424
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/652d377a02cc700008d4be8d
😎 Deploy Preview https://deploy-preview-14889--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Nirajsah Nirajsah closed this Oct 12, 2023
@Nirajsah Nirajsah reopened this Oct 12, 2023
Copy link
Member

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@andreancardona
Copy link
Contributor

Thank you for the contribution @Nirajsah !!

@Nirajsah
Copy link
Contributor Author

Thank you for the contribution @Nirajsah !!

I'm glad I could help 😊

Merged via the queue into carbon-design-system:main with commit 5b203db Oct 18, 2023
16 checks passed
@Nirajsah Nirajsah deleted the SideNavIcon branch October 19, 2023 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add TypeScript types to SideNavIcon
3 participants