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(CreateTearsheetStep): add typescript types #5086

Merged
merged 16 commits into from
May 21, 2024

Conversation

devadula-nandan
Copy link
Contributor

Contributes to #4510

added typescript types to the component

What did you change?

packages/ibm-products/src/components/CreateTearsheet/CreateTearsheetStep.js -> tsx

How did you test and verify your work?

storybook renders as expected
locally writing a test component and verifying the props in vs code manually.

Copy link

netlify bot commented May 6, 2024

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit 47f3b3e
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/664c2fe4aa559d00086d471b
😎 Deploy Preview https://deploy-preview-5086--carbon-for-ibm-products.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.

@devadula-nandan devadula-nandan marked this pull request as ready for review May 9, 2024 08:51
@devadula-nandan devadula-nandan requested a review from a team as a code owner May 9, 2024 08:51
@devadula-nandan devadula-nandan requested review from annawen1 and sangeethababu9223 and removed request for a team May 9, 2024 08:51
@devadula-nandan devadula-nandan marked this pull request as draft May 14, 2024 12:51
@devadula-nandan devadula-nandan marked this pull request as ready for review May 15, 2024 17:57
@devadula-nandan devadula-nandan linked an issue May 15, 2024 that may be closed by this pull request
@devadula-nandan devadula-nandan marked this pull request as draft May 20, 2024 14:47
auto-merge was automatically disabled May 20, 2024 14:47

Pull request was converted to draft

@devadula-nandan devadula-nandan marked this pull request as ready for review May 21, 2024 06:24
Copy link
Contributor

@anamikaanu96 anamikaanu96 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 to me. 🎉

@annawen1 annawen1 added this pull request to the merge queue May 21, 2024
Merged via the queue into carbon-design-system:main with commit 0108f2b May 21, 2024
16 checks passed
paul-balchin-ibm pushed a commit to paul-balchin-ibm/ibm-products that referenced this pull request May 23, 2024
…stem#5086)

* chore(CreateTearsheetStep): changed extension from js to tsx

* refactor(CreateTearsheetStep): fixed few ts errors

* fix: lint error

* fix: lint error

* chore: cleanup

* refactor(CreateTearsheetStep): revert to previous way of accessing object props

* refactor(CreateTearsheetStep): added conditional prop types and title prop fix

* fix(CreateTearsheetStep): fix a test case, and snapshot

* fix(CreateTearsheetStep): lint fix

* refactor: reduced redundancy of descriptions

* refactor: better logic for conditional props
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 CreateTearsheetStep
3 participants