@anoki/fse-marche-ui
Version:
FSE UI components library
3 lines (2 loc) • 852 B
JavaScript
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/RadioCard/RadioCard.css');const e=require("./index.cjs137.js"),l=require("./index.cjs139.js");;/* empty css */const n=require("./index.cjs10.js"),d=({id:s,name:t,value:i,checked:r=!1,label:a,description:x,onChange:o})=>e.jsxRuntimeExports.jsxs("div",{className:l.clsx("shadow bg-white br-x4 ui-radio-card",r&&"ui-radio-card-checked"),children:[e.jsxRuntimeExports.jsx("input",{type:"radio",id:s,name:t,value:i,checked:r,onChange:o}),e.jsxRuntimeExports.jsxs(n.Col,{gap:"x4",children:[e.jsxRuntimeExports.jsx("label",{htmlFor:s,className:"fw-semibold text-slate-20 fs-4",children:a}),e.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-regular text-slate-20",children:x})]})]});exports.RadioCard=d;
//# sourceMappingURL=index.cjs58.js.map