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: add types to CheckboxGroup component #16643

Conversation

2nikhiltom
Copy link
Contributor

Closes #16584

Add types to CheckboxGroup

Changelog

New
Added interfaces for props, state and internal variables.

Changed
renamed CheckboxGroup.js to CheckboxGroup.tsx

Testing / Reviewing

building
viewing the CheckboxGroup stories
creating a component that uses CheckboxGroup and testing which props are valid/invalid

@2nikhiltom 2nikhiltom requested a review from a team as a code owner June 3, 2024 12:24
Copy link

netlify bot commented Jun 3, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit e4e4b36
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/666020bed8beb9000835bf2c
😎 Deploy Preview https://deploy-preview-16643--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.

Copy link

netlify bot commented Jun 3, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit e4e4b36
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/666020be7cd8d60008d1dc76
😎 Deploy Preview https://deploy-preview-16643--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.

Copy link
Contributor

@Gururajj77 Gururajj77 left a comment

Choose a reason for hiding this comment

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

Looks good!

@2nikhiltom 2nikhiltom added this pull request to the merge queue Jun 6, 2024
Merged via the queue into carbon-design-system:main with commit 93740ff Jun 6, 2024
21 checks passed
@2nikhiltom 2nikhiltom deleted the checkboxGroup_typescript_convert branch June 6, 2024 17:51
@lpkobamn
Copy link

'"@carbon/react"' has no exported member named 'CheckboxGroup'. Did you mean 'CheckboxProps'?ts(2724)
Version @carbon/react": "^1.60.2

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 CheckboxGroup
6 participants