UNPKG

eldav1d-marvel-ui

Version:

UI library for (and from) Playing with Marvel API

7 lines (6 loc) 422 B
import { jsxs as h, Fragment as d, jsx as r } from "react/jsx-runtime"; const s = ({ onChange: a, option: e, literal: c, isChecked: l }) => h(d, { children: [r("input", { className: "input mr-2 h-4 w-4 checked:bg-red", "aria-label": e, type: "checkbox", id: e, name: e, value: e, onChange: a, checked: l }), r("label", { htmlFor: e, children: c })] }); export { s as default }; //# sourceMappingURL=CheckboxGroup.js.map