{"version":3,"file":"LayoutSidebar.mjs","names":[],"sources":["../../../src/Layout/components/LayoutSidebar.tsx"],"sourcesContent":["'use client';\n\nimport { cx } from 'antd-style';\nimport { memo } from 'react';\n\nimport { styles } from '../style';\nimport type { LayoutSidebarProps } from '../type';\n\nexport const LayoutSidebar = memo<LayoutSidebarProps>(\n  ({ headerHeight, children, className, style, ...rest }) => {\n    return (\n      <aside\n        className={cx(styles.aside, className)}\n        style={{\n          top: `var(--layout-header-height, ${headerHeight}px)`,\n          ...style,\n        }}\n        {...rest}\n      >\n        {children}\n      </aside>\n    );\n  },\n);\n\nLayoutSidebar.displayName = 'LayoutSidebar';\n\nexport default LayoutSidebar;\n"],"mappings":";;;;;;AAQA,MAAa,gBAAgB,MAC1B,EAAE,cAAc,UAAU,WAAW,OAAO,GAAG,WAAW;AACzD,QACE,oBAAC,SAAD;EACE,WAAW,GAAG,OAAO,OAAO,UAAU;EACtC,OAAO;GACL,KAAK,+BAA+B,aAAa;GACjD,GAAG;GACJ;EACD,GAAI;EAEH;EACK,CAAA;EAGb;AAED,cAAc,cAAc"}