@transkripid/flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS - Transkrip.id fork
32 lines (31 loc) • 1.17 kB
JavaScript
import { jsx as n } from "react/jsx-runtime";
import { c as h } from "react/compiler-runtime";
import { forwardRef as g } from "react";
import { twMerge as u } from "tailwind-merge";
import { mergeDeep as N } from "../../helpers/merge-deep.mjs";
import { getTheme as R } from "../../theme-store/index.mjs";
const w = g((a, f) => {
const e = h(17);
let o, r, t;
e[0] !== a ? ({
className: o,
theme: t,
...r
} = a, e[0] = a, e[1] = o, e[2] = r, e[3] = t) : (o = e[1], r = e[2], t = e[3]);
let l;
e[4] !== t ? (l = t === void 0 ? {} : t, e[4] = t, e[5] = l) : l = e[5];
const c = l;
let m, i, s;
if (e[6] !== o || e[7] !== c || e[8] !== f) {
const d = N(R().radio, c);
m = f, i = "radio", s = u(d.root.base, o), e[6] = o, e[7] = c, e[8] = f, e[9] = m, e[10] = i, e[11] = s;
} else
m = e[9], i = e[10], s = e[11];
let p;
return e[12] !== r || e[13] !== m || e[14] !== i || e[15] !== s ? (p = /* @__PURE__ */ n("input", { ref: m, type: i, className: s, ...r }), e[12] = r, e[13] = m, e[14] = i, e[15] = s, e[16] = p) : p = e[16], p;
});
w.displayName = "Radio";
export {
w as Radio
};
//# sourceMappingURL=Radio.mjs.map