synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
21 lines (20 loc) • 494 B
JavaScript
import { jsx as n } from "react/jsx-runtime";
import { Checkbox as a } from "@mui/material";
function b(t) {
const { isSelected: o, isDisabled: e, setSelected: i, entityId: r } = t.row.original;
return !e && /* @__PURE__ */ n(
a,
{
disabled: e,
inputProps: { "aria-label": `Select ${r}` },
checked: o,
onChange: (c, l) => {
i(l);
}
}
);
}
export {
b as DatasetEditorCheckboxCell
};
//# sourceMappingURL=DatasetEditorCheckboxCell.js.map