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

refactor(16054): Normalize usage of types | replace ReactNodeLike with ReactNode #16453

Merged

Conversation

2nikhiltom
Copy link
Contributor

@2nikhiltom 2nikhiltom commented May 13, 2024

Closes #16449 - CheckBox
Closes #16450 - ComposedModal
Closes #16451 -TableHeader
Closes #16452 - TableSlugRow

This PR fixes inconsistencies and Normalizes the usage of types ReactNode and ReactNodeLike in components .
Now the component props accept ReactNode instead of ReactNodeLike

Changelog

Changed from ReactNodeLike to ReactNode

Testing / Reviewing

This should not require any visual/functional testing, please verification if the existing functionality is intact.

@2nikhiltom 2nikhiltom requested a review from a team as a code owner May 13, 2024 10:33
@2nikhiltom 2nikhiltom changed the title refactor(16054): replaces ReactNodeLike with ReactNode refactor(16054): Normalize usage of types | replace from ReactNodeLike to ReactNode May 13, 2024
@2nikhiltom 2nikhiltom changed the title refactor(16054): Normalize usage of types | replace from ReactNodeLike to ReactNode refactor(16054): Normalize usage of types | replace ReactNodeLike with ReactNode May 13, 2024
Copy link

netlify bot commented May 13, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 184f814
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/6641ec6252aca10008bc8152
😎 Deploy Preview https://deploy-preview-16453--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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

TableSlugRow TableHeader ComposedModal Checkbox
3 participants