-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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(IconButton): dynamic size prop #10339
fix(IconButton): dynamic size prop #10339
Conversation
✔️ Deploy Preview for carbon-react-next ready! 🔨 Explore the source changes: 9434e49 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/61d5bc82ba53870008a6ce7d 😎 Browse the preview: https://deploy-preview-10339--carbon-react-next.netlify.app |
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!
@laurenmrice just wanted to double check, what sizes are allowed for |
@joshblack The Icon button can be Large (48px), Medium (40px), or Small (32px). |
Co-authored-by: Josh Black <[email protected]>
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: f58d832 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/61d4af184e618e0007be52c5 😎 Browse the preview: https://deploy-preview-10339--carbon-elements.netlify.app |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: f58d832 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/61d4af18a080f70009f9fc98 😎 Browse the preview: https://deploy-preview-10339--carbon-components-react.netlify.app |
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: 350227b 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/61d4b3342840bd0008547d98 😎 Browse the preview: https://deploy-preview-10339--carbon-elements.netlify.app |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: 350227b 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/61d4b334ff5eba0008a54ae9 😎 Browse the preview: https://deploy-preview-10339--carbon-components-react.netlify.app |
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: 9434e49 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/61d5bc82a080f7000915b61b 😎 Browse the preview: https://deploy-preview-10339--carbon-elements.netlify.app |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: 9434e49 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/61d5bc827ac1900007be1eb8 😎 Browse the preview: https://deploy-preview-10339--carbon-components-react.netlify.app |
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.
LGTM! 👍🏻 ✅
closes #10293
It was hard-coded to "sm". Now it accepts a prop. Defaults to 'md'.