UNPKG

@transkripid/flowbite-react

Version:

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

33 lines (32 loc) 1.09 kB
import { jsx as h } from "react/jsx-runtime"; import { c as a } from "react/compiler-runtime"; import { twMerge as T } from "tailwind-merge"; import { mergeDeep as u } from "../../helpers/merge-deep.mjs"; import { useTimelineContentContext as x } from "./TimelineContentContext.mjs"; const j = (n) => { const e = a(15); let m, o, i, t; e[0] !== n ? ({ children: m, className: o, theme: t, ...i } = n, e[0] = n, e[1] = m, e[2] = o, e[3] = i, e[4] = t) : (m = e[1], o = e[2], i = e[3], t = e[4]); let r; e[5] !== t ? (r = t === void 0 ? {} : t, e[5] = t, e[6] = r) : r = e[6]; const c = r, { theme: f } = x(); let s; if (e[7] !== o || e[8] !== f.time || e[9] !== c) { const p = u(f.time, c); s = T(p.base, o), e[7] = o, e[8] = f.time, e[9] = c, e[10] = s; } else s = e[10]; let l; return e[11] !== m || e[12] !== i || e[13] !== s ? (l = /* @__PURE__ */ h("time", { className: s, ...i, children: m }), e[11] = m, e[12] = i, e[13] = s, e[14] = l) : l = e[14], l; }; export { j as TimelineTime }; //# sourceMappingURL=TimelineTime.mjs.map