ywana-core8 0.0.96 → 0.0.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +9 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +9 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +1 -1
package/package.json
CHANGED
package/src/html/table.js
CHANGED
@@ -122,7 +122,7 @@ const DataTableCell = ({ row, column, cell, editable }) => {
|
|
122
122
|
const render = (type) => {
|
123
123
|
const { id, disabled = false, min, max, onChange, options } = column
|
124
124
|
if (id === "checked") {
|
125
|
-
<CheckBox id={id} value={cell} onChange={(id, value) => onChange(row.id, id, value)} />
|
125
|
+
return <CheckBox id={id} value={cell} onChange={(id, value) => onChange(row.id, id, value)} />
|
126
126
|
} else if (editable && onChange) {
|
127
127
|
switch (type) {
|
128
128
|
case "ICON": return <Icon icon={cell} />
|