eldav1d-marvel-ui
Version:
UI library for (and from) Playing with Marvel API
3 lines (2 loc) • 461 B
JavaScript
;Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),a=({onChange:l,option:e,literal:c,isChecked:u})=>r.jsxs(r.Fragment,{children:[r.jsx("input",{className:"input mr-2 h-4 w-4 checked:bg-red","aria-label":e,type:"checkbox",id:e,name:e,value:e,onChange:l,checked:u}),r.jsx("label",{htmlFor:e,children:c})]});exports.default=a;
//# sourceMappingURL=CheckboxGroup.cjs.map