{"version":3,"file":"index.mjs","names":["LayoutParent"],"sources":["../../src/Layout/index.ts"],"sourcesContent":["import { type ReactNode } from 'react';\n\nimport LayoutFooter from './components/LayoutFooter';\nimport LayoutHeader from './components/LayoutHeader';\nimport LayoutMain from './components/LayoutMain';\nimport LayoutSidebar from './components/LayoutSidebar';\nimport LayoutSidebarInner from './components/LayoutSidebarInner';\nimport LayoutToc from './components/LayoutToc';\nimport LayoutParent from './Layout';\nimport { type LayoutProps } from './type';\n\nexport interface ILayout {\n  (props: LayoutProps): ReactNode;\n  Footer: typeof LayoutFooter;\n  Header: typeof LayoutHeader;\n  Main: typeof LayoutMain;\n  Sidebar: typeof LayoutSidebar;\n  SidebarInner: typeof LayoutSidebarInner;\n  Toc: typeof LayoutToc;\n}\n\nconst Layout = LayoutParent as unknown as ILayout;\n\nLayout.Footer = LayoutFooter;\nLayout.Header = LayoutHeader;\nLayout.Toc = LayoutToc;\nLayout.Sidebar = LayoutSidebar;\nLayout.SidebarInner = LayoutSidebarInner;\nLayout.Main = LayoutMain;\n\nexport default Layout;\nexport { default as LayoutFooter } from './components/LayoutFooter';\nexport { default as LayoutHeader } from './components/LayoutHeader';\nexport { default as LayoutMain } from './components/LayoutMain';\nexport { default as LayoutSidebar } from './components/LayoutSidebar';\nexport { default as LayoutSidebarInner } from './components/LayoutSidebarInner';\nexport { default as LayoutToc } from './components/LayoutToc';\nexport type * from './type';\n"],"mappings":";;;;;;;;AAqBA,MAAM,SAASA;AAEf,OAAO,SAAS;AAChB,OAAO,SAAS;AAChB,OAAO,MAAM;AACb,OAAO,UAAU;AACjB,OAAO,eAAe;AACtB,OAAO,OAAO"}