Skip to content

Commit

Permalink
fix(sidebar): prefer 'nav' as the component of sidebars
Browse files Browse the repository at this point in the history
  • Loading branch information
mvaled committed Apr 20, 2023
1 parent f704d4c commit 10a7f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface SidebarProps extends PropsWithChildren, ComponentProps<'div'> {

const SidebarComponent: FC<SidebarProps> = ({
children,
as: Component = 'aside',
as: Component = 'nav',
collapseBehavior = 'collapse',
collapsed: isCollapsed = false,
theme: customTheme = {},
Expand Down

0 comments on commit 10a7f56

Please sign in to comment.