Skip to content

Commit

Permalink
feat: 🎸 [Adornment] Badge overlap circular
Browse files Browse the repository at this point in the history
  • Loading branch information
luciob committed Jul 14, 2022
1 parent 42b9727 commit c9d2910
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Adornment/components/Badge/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const AdornmentBadge: FC<IAdornment> = ({ badge, children, dataCy = DEFAULT_DATA
const { color = "default", value, variant = "standard" } = badge;

return (
<MUIBadge badgeContent={value} color={color} data-cy={badgeDataCy} variant={variant}>
<MUIBadge badgeContent={value} color={color} data-cy={badgeDataCy} overlap="circular" variant={variant}>
{children}
</MUIBadge>
);
Expand Down
4 changes: 2 additions & 2 deletions src/components/IconButton/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ exports[`IconButton test suite: adornment - badge & tooltip 1`] = `
/>
</button>
<span
className="MuiBadge-badge MuiBadge-anchorOriginTopRightRectangle"
className="MuiBadge-badge MuiBadge-anchorOriginTopRightCircular"
>
3
</span>
Expand Down Expand Up @@ -113,7 +113,7 @@ exports[`IconButton test suite: adornment - badge 1`] = `
</span>
</button>
<span
className="MuiBadge-badge MuiBadge-anchorOriginTopRightRectangle"
className="MuiBadge-badge MuiBadge-anchorOriginTopRightCircular"
>
3
</span>
Expand Down

0 comments on commit c9d2910

Please sign in to comment.