UNPKG

@transkripid/flowbite-react

Version:

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

22 lines (21 loc) 711 B
import { jsx as l, jsxs as c, Fragment as d } from "react/jsx-runtime"; import { c as f } from "react/compiler-runtime"; import { ThemeInit as p } from "../../theme-store/init/index.mjs"; const a = (n) => { const t = f(6), { children: i, theme: e } = n, s = e == null ? void 0 : e.mode, m = e == null ? void 0 : e.theme; let o; t[0] !== s || t[1] !== m ? (o = /* @__PURE__ */ l(p, { mode: s, theme: m }), t[0] = s, t[1] = m, t[2] = o) : o = t[2]; let r; return t[3] !== i || t[4] !== o ? (r = /* @__PURE__ */ c(d, { children: [ o, i ] }), t[3] = i, t[4] = o, t[5] = r) : r = t[5], r; }; a.displayName = "Flowbite"; export { a as Flowbite }; //# sourceMappingURL=Flowbite.mjs.map