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(popover): allow Badge as PopoverButton #2089
Conversation
🦋 Changeset detectedLatest commit: 7e16d31 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Change: +117 B (0%) Total Size: 461 kB
ℹ️ View Unchanged
|
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
1de2c72
to
9aca295
Compare
✔️ Deploy Preview for paste-theme-designer ready! 🔨 Explore the source changes: 7e16d31 🔍 Inspect the deploy log: https://app.netlify.com/sites/paste-theme-designer/deploys/61b7e6776ddcdf0008f71da7 😎 Browse the preview: https://deploy-preview-2089--paste-theme-designer.netlify.app |
✔️ Deploy Preview for paste-docs ready! 🔨 Explore the source changes: 7e16d31 🔍 Inspect the deploy log: https://app.netlify.com/sites/paste-docs/deploys/61b7e67723d162000751de26 😎 Browse the preview: https://deploy-preview-2089--paste-docs.netlify.app |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 979d04c:
|
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.
Nice!
27896e4
to
979d04c
Compare
Adds
as
prop, which defaults to'button'
but can be set to'badge'
. If set to'badge'
, PopoverButton renders a Badge.Also fixes bug where badge aggressively wraps contents when it is a link/button: https://issues.corp.twilio.com/browse/DSYS-3162
Contributing to Twilio