{"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,UAAD;EACE,WAAW,GAAG,OAAO,QAAQ,UAAU;EACvC,OAAO;GACL,QAAQ;GACR,GAAG;GACJ;EACD,GAAI;EAEH;EACM,CAAA;EAGd;AAED,aAAa,cAAc"}