UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

1 lines 744 B
{"version":3,"file":"LayoutMain.mjs","names":[],"sources":["../../../src/Layout/components/LayoutMain.tsx"],"sourcesContent":["'use client';\n\nimport { cx } from 'antd-style';\nimport { memo } from 'react';\n\nimport { styles } from '../style';\nimport type { LayoutMainProps } from '../type';\n\nexport const LayoutMain = memo<LayoutMainProps>(({ children, className, ...rest }) => {\n return (\n <main className={cx(styles.main, className)} {...rest}>\n {children}\n </main>\n );\n});\n\nLayoutMain.displayName = 'LayoutMain';\n\nexport default LayoutMain;\n"],"mappings":";;;;;;;;AAQA,MAAa,aAAa,MAAuB,EAAE,UAAU,WAAW,GAAG,WAAW;AACpF,QACE,oBAAC;EAAK,WAAW,GAAG,OAAO,MAAM,UAAU;EAAE,GAAI;EAC9C;GACI;EAET;AAEF,WAAW,cAAc;AAEzB,yBAAe"}