Button: Update types to be a conditional proptype (or a union in TS) of if hasIconOnly, kind !== "danger"
#17036
Labels
Milestone
if hasIconOnly, kind !== "danger"
#17036
danger
is not a validtype
ofIconButton
or<Button hasIconOnly/>
, we need to update the proptypes and TS interfaces to state this.The text was updated successfully, but these errors were encountered: