mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 15:19:08 +03:00
New Docs IA, mainly splitting up the miscellaneous bucket that is Platform into multiple sections
20 lines
608 B
TypeScript
20 lines
608 B
TypeScript
import 'katex/dist/katex.min.css'
|
|
import { type PropsWithChildren } from 'react'
|
|
|
|
import { type NavMenuSection } from '~/components/Navigation/Navigation.types'
|
|
import { LayoutMainContent } from '~/layouts/DefaultLayout'
|
|
import { SidebarSkeleton } from '~/layouts/MainSkeleton'
|
|
|
|
const Layout = ({
|
|
children,
|
|
additionalNavItems,
|
|
}: PropsWithChildren<{ additionalNavItems?: Partial<NavMenuSection>[] }>) => {
|
|
return (
|
|
<SidebarSkeleton additionalNavItems={additionalNavItems}>
|
|
<LayoutMainContent className="pb-0">{children}</LayoutMainContent>
|
|
</SidebarSkeleton>
|
|
)
|
|
}
|
|
|
|
export default Layout
|