UNPKG

@transkripid/flowbite-react

Version:

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

28 lines (27 loc) 839 B
import { jsx as p } from "react/jsx-runtime"; import { c as n } from "react/compiler-runtime"; import { twMerge as a } from "tailwind-merge"; import { mergeDeep as h } from "../../helpers/merge-deep.mjs"; import { getTheme as g } from "../../theme-store/index.mjs"; const b = (c) => { const e = n(8), { children: s, className: i, theme: m } = c; let o; e[0] !== m ? (o = m === void 0 ? {} : m, e[0] = m, e[1] = o) : o = e[1]; const l = o; let t; if (e[2] !== i || e[3] !== l) { const f = h(g().listGroup.item, l); t = a(f.base, i), e[2] = i, e[3] = l, e[4] = t; } else t = e[4]; let r; return e[5] !== s || e[6] !== t ? (r = /* @__PURE__ */ p("li", { className: t, children: s }), e[5] = s, e[6] = t, e[7] = r) : r = e[7], r; }; export { b as ListItem }; //# sourceMappingURL=ListItem.mjs.map