Skip to content

Commit

Permalink
fix(Tag): pass disabled state to tag button
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Apr 5, 2021
1 parent e972912 commit 36a4d34
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/react/src/components/Tag/Tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ const Tag = ({
const ComponentTag = other.onClick ? 'button' : 'div';

return (
<ComponentTag className={tagClasses} id={tagId} {...other}>
<ComponentTag
disabled={disabled}
className={tagClasses}
id={tagId}
{...other}>
{CustomIconElement ? (
<div className={`${prefix}--tag__custom-icon`}>
<CustomIconElement />
Expand Down

0 comments on commit 36a4d34

Please sign in to comment.