carbon icon indicating copy to clipboard operation
carbon copied to clipboard

Button: Update types to be a conditional proptype (or a union in TS) of `if hasIconOnly, kind !== "danger"`

Open tay1orjones opened this issue 6 months ago • 1 comments

danger is not a valid type of IconButton or <Button hasIconOnly/>, we need to update the proptypes and TS interfaces to state this.

tay1orjones avatar Jul 24 '24 14:07 tay1orjones