UNPKG

fui-fancyui

Version:
15 lines (14 loc) 529 B
"use client"; import { jsxs as p, jsx as r } from "react/jsx-runtime"; import { forwardRef as c } from "react"; import { RadioWrapper as m, HiddenRadio as s, StyledRadio as n } from "./RawRadio.style.js"; const y = c((o, a) => { const { checked: e, themeType: d = "primary", layer: i = 2, ...t } = o; return /* @__PURE__ */ p(m, { children: [ /* @__PURE__ */ r(s, { ref: a, "aria-checked": e, checked: e, ...t }), /* @__PURE__ */ r(n, { $checked: e, $themeType: d, $layer: i }) ] }); }); export { y as default };