UNPKG

@serendie/ui

Version:

Adaptive UI component library as part of Serendie Design System by Mitsubishi Electric

23 lines (22 loc) 446 B
import { jsx as o } from "react/jsx-runtime"; import { ChoiceBox as i } from "../../ChoiceBox/ChoiceBox.js"; import { DataTable as l } from "../index.js"; const b = ({ checked: e, onChange: r, value: t, state: c = "enabled", ...m }) => /* @__PURE__ */ o(l.BodyCell, { state: c, children: /* @__PURE__ */ o( i, { ...m, type: "checkbox", value: t, checked: e, onChange: r } ) }); export { b as BodyCheckbox };