UNPKG

@transkripid/flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS - Transkrip.id fork

37 lines (36 loc) 1.18 kB
import { jsx as u } from "react/jsx-runtime"; import { c as G } from "react/compiler-runtime"; import { twMerge as h } from "tailwind-merge"; import { mergeDeep as L } from "../../helpers/merge-deep.mjs"; import { getTheme as d } from "../../theme-store/index.mjs"; import { ListGroupItem as a } from "./ListGroupItem.mjs"; const f = (l) => { const e = G(14); let o, s, m, t; e[0] !== l ? ({ children: o, className: s, theme: t, ...m } = l, e[0] = l, e[1] = o, e[2] = s, e[3] = m, e[4] = t) : (o = e[1], s = e[2], m = e[3], t = e[4]); let i; e[5] !== t ? (i = t === void 0 ? {} : t, e[5] = t, e[6] = i) : i = e[6]; const c = i; let r; if (e[7] !== s || e[8] !== c) { const n = L(d().listGroup, c); r = h(n.root.base, s), e[7] = s, e[8] = c, e[9] = r; } else r = e[9]; let p; return e[10] !== o || e[11] !== m || e[12] !== r ? (p = /* @__PURE__ */ u("ul", { className: r, ...m, children: o }), e[10] = o, e[11] = m, e[12] = r, e[13] = p) : p = e[13], p; }; f.displayName = "ListGroup"; a.displayName = "ListGroup.Item"; const y = Object.assign(f, { Item: a }); export { y as ListGroup }; //# sourceMappingURL=ListGroup.mjs.map