koval-ui
Version:
React components collection with minimalistic design. Supports theming, layout, and input validation.
31 lines (30 loc) • 687 B
JavaScript
"use client";
import { jsx as o } from "react/jsx-runtime";
import m from "classnames";
import e from "./Cells.module.css.js";
import { InputCheckbox as n } from "../../InputCheckbox/InputCheckbox.js";
const f = ({
checked: r,
disabled: t,
onChange: l = () => {
},
indeterminate: s,
mode: i = "normal"
/* normal */
}) => /* @__PURE__ */ o("div", { className: e.rowSelectionCell, children: /* @__PURE__ */ o(
n,
{
indeterminate: s,
className: m(e.input, {
[e.inverted]: i === "inverted"
/* inverted */
}),
checked: r,
disabled: t,
onChange: l
}
) });
export {
f as RowSelectionCell
};
//# sourceMappingURL=RowSelectionCell.js.map