UNPKG

geoiq-frontend-ui-kit

Version:

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

24 lines (23 loc) 768 B
import e from "react"; import { AccordionDemo as m } from "./index.es2.js"; import { Typography as a } from "./index.es17.js"; const i = ({ types: t }) => t && t.length > 0 ? /* @__PURE__ */ e.createElement( m, { trigger: /* @__PURE__ */ e.createElement(a, { variant: "body1", className: "text-light-2" }, "Types"), content: /* @__PURE__ */ e.createElement("div", { className: "flex flex-wrap gap-1" }, t.map((r, o) => /* @__PURE__ */ e.createElement( a, { key: r + o, variant: "body4", className: "rounded bg-primary-1 px-2 py-0.5 text-xs text-light-3" }, r ))), triggerProps: { className: "cursor-pointer my-2" } } ) : null; export { i as TypeSection }; //# sourceMappingURL=index.es132.js.map