@omniumretail/component-library 1.0.13 → 1.0.14

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/component-library",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "private": false,
5
5
  "main": "dist/bundle.js",
6
6
  "typings": "./dist/types/index",
@@ -198,7 +198,7 @@ withActions.args = {
198
198
  pageSize: 4
199
199
  },
200
200
  rowSelection: {
201
- type: 'radio',
201
+ type: 'checkbox',
202
202
  selectedRowKeys: ['1']
203
203
  }
204
204
  };
@@ -175,7 +175,8 @@ export const Table = (props: TableCustomProps) => {
175
175
  rowSelection: {
176
176
  selectedRowKeys: selectedRowKeys,
177
177
  onChange: onSelectChange,
178
- ...rowSelection
178
+ type: props.rowSelection?.type
179
+ // ...rowSelection
179
180
  }
180
181
  }
181
182
  ) : null}