Skip to content

Commit

Permalink
Re-added className in accordionHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Nov 6, 2024
1 parent 264702a commit 842a042
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion @navikt/core/react/src/accordion/AccordionHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ const AccordionHeader = forwardRef<HTMLButtonElement, AccordionHeaderProps>(
aria-hidden
/>
</span>
<Heading size={headingSize} as="span">
<Heading
size={headingSize}
as="span"
className="navds-accordion__header-content"
>
{children}
</Heading>
</button>
Expand Down

0 comments on commit 842a042

Please sign in to comment.