Clarify danger
is not a valid type of IconButton
or <Button hasIconOnly/>
#14300
Labels
Milestone
danger
is not a valid type of IconButton
or <Button hasIconOnly/>
#14300
This has been a point of confusion for some time (#11484, #14295) and we have not clearly stated anywhere on the website or storybook (that I can find) that we do not support
danger
for the icon only button(s).This includes both
IconButton
, andButton
withhasIconOnly
.Pieces to fix
if hasIconOnly, kind !== "danger"
#17036The text was updated successfully, but these errors were encountered: