UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

21 lines (20 loc) 494 B
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