Skip to content

Commit

Permalink
Updates to stories
Browse files Browse the repository at this point in the history
  • Loading branch information
Fercas123 committed Dec 17, 2024
1 parent 21fe86c commit c33d971
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion site/src/examples/overlay/WithHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {
Button,
H2,
Overlay,
OverlayPanel,
OverlayPanelContent,
Expand Down Expand Up @@ -34,7 +35,11 @@ export const WithHeader = (): ReactElement => {
</OverlayTrigger>
<OverlayPanel aria-labelledby={id}>
<OverlayHeader
header={<h4 id={id}>Title</h4>}
header={
<H2 styleAs="h4" id={id}>
Title
</H2>
}
actions={headerActions}
/>
<OverlayPanelContent>
Expand Down

0 comments on commit c33d971

Please sign in to comment.