Skip to content

Commit

Permalink
*feat AppHeader aside content
Browse files Browse the repository at this point in the history
  • Loading branch information
Sodik committed Oct 10, 2024
1 parent 93a7eef commit cef55e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions packages/ui/__stories__/AppHeader.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,6 @@ export const WithoutMenuAndWithAsideContent = () => {
LinkComponent: ({ children, className }) => <span className={className}>{children}</span>,
}}
asideContent={<Button>Link</Button>}
menuContent={() => (
<>
<Button color="light" variant="text">
Item 1
</Button>
</>
)}
/>
)
}
Expand All @@ -162,6 +155,13 @@ export const WithAsideContent = () => {
logoProps={{
LinkComponent: ({ children, className }) => <span className={className}>{children}</span>,
}}
menuContent={() => (
<>
<Button color="light" variant="text">
Item 1
</Button>
</>
)}
/>
)
}

0 comments on commit cef55e3

Please sign in to comment.