@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
1 lines • 1.81 kB
Source Map (JSON)
{"version":3,"file":"index.mjs","names":["LayoutParent","LayoutFooter","LayoutHeader","LayoutToc","LayoutSidebar","LayoutSidebarInner","LayoutMain"],"sources":["../../src/Layout/index.ts"],"sourcesContent":["import type { ReactNode } from 'react';\n\nimport LayoutParent from './Layout';\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 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,SAASC;AAChB,OAAO,SAASC;AAChB,OAAO,MAAMC;AACb,OAAO,UAAUC;AACjB,OAAO,eAAeC;AACtB,OAAO,OAAOC;AAEd,qBAAe"}