-
Notifications
You must be signed in to change notification settings - Fork 142
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(SingleAddSelect): implement typescript types #5144
refactor(SingleAddSelect): implement typescript types #5144
Conversation
✅ Deploy Preview for carbon-for-ibm-products ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
packages/ibm-products/src/components/AddSelect/AddSelectBody.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great. one last thing- similarly to the dataspreadsheet refactor, can you move the types into their own file? d4c4395#diff-e0e53665040074874d795a3d1adad8fbb56210c909296066a7e87fcfb25e10b9
@davidmenendez sure, refactored. |
There was a problem hiding this 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!
a20e768
Contributes to #5117 #5123 #5122
What did you change?
Moved these
.js
files to.tsx
.packages/ibm-products/src/components/SingleAddSelect/SingleAddSelect.tsx
packages/ibm-products/src/components/AddSelect/AddSelect.tsx
packages/ibm-products/src/components/AddSelect/AddSelectSort.tsx
packages/ibm-products/src/components/AddSelect/AddSelectBody.tsx
packages/ibm-products/src/components/Tearsheet/Tearsheet.tsx
packages/ibm-products/src/components/MultiAddSelect/MultiAddSelect.tsx
Because all these components are connected, hence I migrated them together to avoid conflicts in future.
How did you test and verify your work?
Storybook