-
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
[Bug]: "icon only danger button" is throwing an error to the console #11484
Comments
Closing as we do not support danger for icon only button. |
If danger is no longer supported for icon only buttons, then I suggest you update https://react.carbondesignsystem.com/?path=/docs/components-button--icon-button It says
|
### Related Ticket(s) Follows: carbon-design-system#15596 & carbon-design-system#15591 ### Description Updates Tile with carbon gradient ### Changelog **Changed** - new carbon upgrade (using RC atm -> will need to update to full release) - updated tile slug styles like core - the new core styles fix an error with number-input slug revert styles <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
Package
@carbon/react
Browser
Edge
Package version
1.1.0
React version
17.0.2
Description
Hi,
Rendering a button with
hasIconOnly
andkind="danger"
attributes set throws an error to the consoleReproduction/example
https://stackblitz.com/edit/carbon-button-issue?file=src%2FApp.jsx
Steps to reproduce
Just render a button adding
hasIconOnly
andkind="danger"
attributesCode of Conduct
The text was updated successfully, but these errors were encountered: