UNPKG

@transkripid/flowbite-react

Version:

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

27 lines (26 loc) 890 B
import { jsx as f } from "react/jsx-runtime"; import { c as p } from "react/compiler-runtime"; import { twMerge as a } from "tailwind-merge"; import { useDropdownContext as h } from "./DropdownContext.mjs"; const D = (l) => { const e = p(12); let o, r, t; e[0] !== l ? ({ className: o, theme: t, ...r } = l, e[0] = l, e[1] = o, e[2] = r, e[3] = t) : (o = e[1], r = e[2], t = e[3]); let s; e[4] !== t ? (s = t === void 0 ? {} : t, e[4] = t, e[5] = s) : s = e[5]; const c = s, { theme: d } = h(), n = c.divider ?? d.floating.divider; let i; e[6] !== o || e[7] !== n ? (i = a(n, o), e[6] = o, e[7] = n, e[8] = i) : i = e[8]; let m; return e[9] !== r || e[10] !== i ? (m = /* @__PURE__ */ f("div", { className: i, ...r }), e[9] = r, e[10] = i, e[11] = m) : m = e[11], m; }; export { D as DropdownDivider }; //# sourceMappingURL=DropdownDivider.mjs.map