Skip to content

Commit

Permalink
Merge 81b5444 into f27698a
Browse files Browse the repository at this point in the history
  • Loading branch information
HalvorHaugan authored Oct 25, 2024
2 parents f27698a + 81b5444 commit 866c877
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/cool-peaches-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@navikt/ds-react": patch
---

Tabs.List: Remove redundant icon titles
6 changes: 1 addition & 5 deletions @navikt/core/react/src/tabs/parts/tablist/ScrollButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ function ScrollButton({ hidden, onClick, dir }: ScrollButtonProps) {
onClick={onClick}
aria-hidden
>
{dir === "left" ? (
<ChevronLeftIcon title="scroll tilbake" />
) : (
<ChevronRightIcon title="scroll neste" />
)}
{dir === "left" ? <ChevronLeftIcon /> : <ChevronRightIcon />}
</div>
);
}
Expand Down

0 comments on commit 866c877

Please sign in to comment.