-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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(react): update pagination component to functional component #10082
refactor(react): update pagination component to functional component #10082
Conversation
…021-refactor-pagination-component
…021-refactor-pagination-component
❌ Deploy Preview for carbon-react-next failed. 🔨 Explore the source changes: e2b52f8 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/618becaeaf977c0007a1f2f0 |
❌ Deploy Preview for carbon-components-react failed. 🔨 Explore the source changes: e2b52f8 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/618becaea90d8e0007c1536b |
✔️ Deploy Preview for carbon-react-next ready! 🔨 Explore the source changes: 8c54f2d 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/61946340a4617a00087e938f 😎 Browse the preview: https://deploy-preview-10082--carbon-react-next.netlify.app |
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: e2b52f8 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/618becae69e2600007ce61a2 😎 Browse the preview: https://deploy-preview-10082--carbon-elements.netlify.app |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: 8c54f2d 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/619463406014e8000753bde4 😎 Browse the preview: https://deploy-preview-10082--carbon-components-react.netlify.app |
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: 8c54f2d 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/6194634074ee470008d0ec81 😎 Browse the preview: https://deploy-preview-10082--carbon-elements.netlify.app |
…021-refactor-pagination-component
…black/carbon into 10021-refactor-pagination-component
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.
Great work 👍🏾
number, | ||
select, | ||
text, | ||
} from '@storybook/addon-knobs'; |
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.
Do we want to start removing knobs if the story is going to be in carbon-react-next
?
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.
Good point, maybe this can be part of our refactor during our mob days next sprint?
Closes #10021
Refactor our
Pagination
component to a functional componentChangelog
New
Pagination/next
folder with refactored PaginationPagination
tests to work withoutwrapper.state()
orwrapper.setState()
callsChanged
Removed
Testing / Reviewing