Skip to content

Commit

Permalink
Add activeIcon to TopNavigation
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Nov 14, 2023
1 parent 125233b commit 85b67bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/ten-kangaroos-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sumup/circuit-ui': patch
---

Added support for an `activeIcon` to the TopNavigation links.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ export interface UtilityLinkProps
* On narrow viewports, only the icon is displayed.
*/
icon: IconComponentType;
/**
* Display a different icon when the link is active.
*/
activeIcon?: IconComponentType;
/**
* Short label to describe the target of the link.
*/
Expand Down

0 comments on commit 85b67bc

Please sign in to comment.