UNPKG

@lobehub/ui

Version:

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

25 lines (22 loc) 684 B
'use client'; import { styles } from "../style.mjs"; import { memo } from "react"; import { jsx } from "react/jsx-runtime"; import { cx } from "antd-style"; //#region src/Layout/components/LayoutSidebar.tsx const LayoutSidebar = memo(({ headerHeight, children, className, style, ...rest }) => { return /* @__PURE__ */ jsx("aside", { className: cx(styles.aside, className), style: { top: `var(--layout-header-height, ${headerHeight}px)`, ...style }, ...rest, children }); }); LayoutSidebar.displayName = "LayoutSidebar"; var LayoutSidebar_default = LayoutSidebar; //#endregion export { LayoutSidebar_default as default }; //# sourceMappingURL=LayoutSidebar.mjs.map