react-live-data-table 1.0.8 → 1.0.9
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/package.json +1 -1
- package/src/ReactDataTable.jsx +2 -0
package/package.json
CHANGED
package/src/ReactDataTable.jsx
CHANGED
@@ -169,6 +169,7 @@ function ReactDataTable({
|
|
169
169
|
<input
|
170
170
|
id={data.id}
|
171
171
|
type="checkbox"
|
172
|
+
className='bg-gray-700 rounded-4 border-gray-200 text-blue-400 focus:ring-0 focus:ring-white'
|
172
173
|
checked={Object.keys(selectedRows).length > 0 && data.every(row => selectedRows[row.id])}
|
173
174
|
onChange={(e) => handleSelectAll(e.target.checked, flatData)}
|
174
175
|
/>
|
@@ -178,6 +179,7 @@ function ReactDataTable({
|
|
178
179
|
return (
|
179
180
|
<div className="flex items-center justify-center h-[40px]" onClick={(e) => e.stopPropagation()}>
|
180
181
|
<input
|
182
|
+
id={row.id}
|
181
183
|
type="checkbox"
|
182
184
|
className='bg-gray-700 rounded-4 border-gray-200 text-blue-400 focus:ring-0 focus:ring-white'
|
183
185
|
checked={!!selectedRows[row.id]}
|