UNPKG

geoiq-frontend-ui-kit

Version:

This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.

51 lines (50 loc) 1.23 kB
import e from "react"; import { SidebarRoot as y, SidebarHeader as v, SidebarFooter as R } from "./index.es83.js"; import { SidebarItem as N, SidebarSection as P } from "./index.es83.js"; function F({ header: t, content: i, footer: a, collapsed: r, defaultCollapsed: m, onCollapsedChange: o, width: n, collapsedWidth: S, showToggle: b, headerProps: c, contentProps: d, footerProps: f, className: l, togglePosition: u, toggleClassName: E, collapseIcon: p, expandIcon: x }) { return /* @__PURE__ */ e.createElement( y, { collapsed: r, defaultCollapsed: m, onCollapsedChange: o, width: n, collapsedWidth: S, showToggle: b, className: l, togglePosition: u, toggleClassName: E, collapseIcon: p, expandIcon: x }, t && /* @__PURE__ */ e.createElement(v, { collapsed: r, ...c }, t), /* @__PURE__ */ e.createElement("div", { className: "flex-1 py-4 overflow-y-auto", ...d }, i), a && /* @__PURE__ */ e.createElement(R, { collapsed: r, ...f }, a) ); } export { R as SidebarFooter, v as SidebarHeader, N as SidebarItem, F as SidebarPrimary, P as SidebarSection }; //# sourceMappingURL=index.es82.js.map