Skip to content

Commit

Permalink
fixup! BREAKING-CHANGE(web-react): Remove isUnderlined prop from Link…
Browse files Browse the repository at this point in the history
… component
  • Loading branch information
pavelklibani committed Oct 10, 2024
1 parent 4b46b88 commit b009d35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/web-react/DEPRECATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ This document lists all deprecations that will be removed in the next major vers
## Deprecations

Nothing here right now! 🎉

👉 [What are deprecations?][readme-deprecations]

[readme-deprecations]: https://github.com/lmc-eu/spirit-design-system/blob/main/packages/web-react/README.md#deprecations
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const BreadcrumbsCustom = () => {
const isLastItem = index === items.length - 1;

const linkParams = {
underlined: !isLastItem ? 'always' : undefined,
underlined: isLastItem ? 'hover' : 'always',
'aria-current': isLastItem ? 'page' : undefined,
color: isLastItem ? 'secondary' : 'primary',
};
Expand Down

0 comments on commit b009d35

Please sign in to comment.