UNPKG

@lobehub/ui

Version:

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

25 lines (22 loc) 625 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/LayoutToc.tsx const LayoutToc = memo(({ tocWidth, style, className, children, ...rest }) => { return /* @__PURE__ */ jsx("nav", { className: cx(styles.toc, className), style: tocWidth ? { width: tocWidth, ...style } : style, ...rest, children }); }); LayoutToc.displayName = "LayoutToc"; var LayoutToc_default = LayoutToc; //#endregion export { LayoutToc_default as default }; //# sourceMappingURL=LayoutToc.mjs.map