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

fix(typescript): adds TypeScript types to ChatButton & Skeleton #17316

Merged

Conversation

2nikhiltom
Copy link
Contributor

@2nikhiltom 2nikhiltom commented Sep 3, 2024

Closes #17291

Adds TypeScript types to ChatButto , ChatButto.Skeleton
convers index.js to index.ts

Changelog

New

Added interface ChatButtonProps

Changed

converted : ChatButton.js ---> ChatButton.tsx
converted : ChatButton.Skeleton.js ---> ChatButton.Skeleton.tsx
converted : index.js ---> index.ts

Testing / Reviewing

Make sure no typescript errors are flagged
Make your existing functionality of component are intact

Copy link

netlify bot commented Sep 3, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 156a191
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/66d6d3bf3b67960008f2e5ec
😎 Deploy Preview https://deploy-preview-17316--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.

@2nikhiltom 2nikhiltom changed the title fix(17291): rename .js to .tsx for preserve file history fix(typescript): adds TypeScript types to ChatButto & Skeleton Sep 3, 2024
@2nikhiltom 2nikhiltom marked this pull request as ready for review September 3, 2024 09:18
@2nikhiltom 2nikhiltom requested a review from a team as a code owner September 3, 2024 09:18
Copy link

netlify bot commented Sep 3, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 156a191
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/66d6d3bffd4aec0008a563e7
😎 Deploy Preview https://deploy-preview-17316--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.

@annawen1 annawen1 changed the title fix(typescript): adds TypeScript types to ChatButto & Skeleton fix(typescript): adds TypeScript types to ChatButton & Skeleton Sep 3, 2024
@alisonjoseph alisonjoseph added this pull request to the merge queue Sep 3, 2024
Merged via the queue into carbon-design-system:main with commit 87eeed1 Sep 3, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add TypeScript types to ChatButton
4 participants