@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
1 lines • 961 B
Source Map (JSON)
{"version":3,"file":"LayoutHeader.mjs","names":[],"sources":["../../../src/Layout/components/LayoutHeader.tsx"],"sourcesContent":["'use client';\n\nimport { cx } from 'antd-style';\nimport { memo } from 'react';\n\nimport { styles } from '../style';\nimport type { LayoutHeaderProps } from '../type';\n\nexport const LayoutHeader = memo<LayoutHeaderProps>(\n ({ headerHeight, children, className, style, ...rest }) => {\n return (\n <header\n className={cx(styles.header, className)}\n style={{\n height: headerHeight,\n ...style,\n }}\n {...rest}\n >\n {children}\n </header>\n );\n },\n);\n\nLayoutHeader.displayName = 'LayoutHeader';\n\nexport default LayoutHeader;\n"],"mappings":";;;;;;;;AAQA,MAAa,eAAe,MACzB,EAAE,cAAc,UAAU,WAAW,OAAO,GAAG,WAAW;AACzD,QACE,oBAAC;EACC,WAAW,GAAG,OAAO,QAAQ,UAAU;EACvC,OAAO;GACL,QAAQ;GACR,GAAG;GACJ;EACD,GAAI;EAEH;GACM;EAGd;AAED,aAAa,cAAc;AAE3B,2BAAe"}