@transkripid/flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS - Transkrip.id fork
35 lines (34 loc) • 1.25 kB
JavaScript
import { jsx as d } from "react/jsx-runtime";
import { c as g } from "react/compiler-runtime";
import { twMerge as u } from "tailwind-merge";
import { mergeDeep as x } from "../../helpers/merge-deep.mjs";
import { useTimelineContentContext as v } from "./TimelineContentContext.mjs";
const D = (f) => {
const e = g(19);
let o, l, m, r, t;
e[0] !== f ? ({
as: r,
children: o,
className: l,
theme: t,
...m
} = f, e[0] = f, e[1] = o, e[2] = l, e[3] = m, e[4] = r, e[5] = t) : (o = e[1], l = e[2], m = e[3], r = e[4], t = e[5]);
const p = r === void 0 ? "h3" : r;
let n;
e[6] !== t ? (n = t === void 0 ? {} : t, e[6] = t, e[7] = n) : n = e[7];
const a = n, {
theme: h
} = v();
let i, s;
if (e[8] !== p || e[9] !== l || e[10] !== h.title || e[11] !== a) {
const T = x(h.title, a);
i = p, s = u(T.base, l), e[8] = p, e[9] = l, e[10] = h.title, e[11] = a, e[12] = i, e[13] = s;
} else
i = e[12], s = e[13];
let c;
return e[14] !== i || e[15] !== o || e[16] !== m || e[17] !== s ? (c = /* @__PURE__ */ d(i, { className: s, ...m, children: o }), e[14] = i, e[15] = o, e[16] = m, e[17] = s, e[18] = c) : c = e[18], c;
};
export {
D as TimelineTitle
};
//# sourceMappingURL=TimelineTitle.mjs.map