Skip to content

Commit

Permalink
docs(Page): nest footer in div (#6728)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas742 authored Dec 11, 2024
1 parent 6ee78e6 commit 6388975
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions packages/main/src/webComponents/Page/Page.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,25 @@ const meta = {
header: (
<Bar
design={BarDesign.Header}
startContent={<Button icon="home" title="Go Home" />}
endContent={<Button icon="settings" title="Go to Settings" />}
startContent={<Button icon="home" title="Go Home" accessibleName="Home" />}
endContent={<Button icon="settings" title="Go to Settings" accessibleName="Settings" />}
>
<Label>Title</Label>
</Bar>
),
footer: (
<Bar
design={BarDesign.FloatingFooter}
startContent={<Button icon="home" title="Go Home" />}
endContent={
<>
<Button design={ButtonDesign.Positive}>Accept</Button>
<Button design={ButtonDesign.Negative}>Decline</Button>
<Button design={ButtonDesign.Transparent}>Cancel</Button>
</>
}
/>
<div>
<Bar
design={BarDesign.FloatingFooter}
endContent={
<>
<Button design={ButtonDesign.Positive}>Accept</Button>
<Button design={ButtonDesign.Negative}>Decline</Button>
<Button design={ButtonDesign.Transparent}>Cancel</Button>
</>
}
/>
</div>
)
},
argTypes: {
Expand Down

0 comments on commit 6388975

Please sign in to comment.