@transkripid/flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS - Transkrip.id fork
26 lines (25 loc) • 853 B
JavaScript
import { jsx as f, jsxs as s, Fragment as h } from "react/jsx-runtime";
import { c as p } from "react/compiler-runtime";
import { ThemeClientInit as c } from "./client.mjs";
import { ThemeModeInit as I } from "./mode.mjs";
import { ThemeServerInit as T } from "./server.mjs";
function g(l) {
const e = p(9), {
mode: n,
theme: o
} = l;
let t;
e[0] !== n ? (t = /* @__PURE__ */ f(I, { mode: n }), e[0] = n, e[1] = t) : t = e[1];
let m, r;
e[2] !== o ? (m = /* @__PURE__ */ f(T, { theme: o }), r = /* @__PURE__ */ f(c, { theme: o }), e[2] = o, e[3] = m, e[4] = r) : (m = e[3], r = e[4]);
let i;
return e[5] !== t || e[6] !== m || e[7] !== r ? (i = /* @__PURE__ */ s(h, { children: [
t,
m,
r
] }), e[5] = t, e[6] = m, e[7] = r, e[8] = i) : i = e[8], i;
}
export {
g as ThemeInit
};
//# sourceMappingURL=index.mjs.map