Skip to content
This repository was archived by the owner on Apr 5, 2022. It is now read-only.

Commit 9c54b89

Browse files
author
zhuochengyu
committed
update changelog
1 parent d94238f commit 9c54b89

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Upcoming
22

3+
## New Feature
4+
5+
- Add selectable rows to DataTable.
6+
7+
## Breaking Changes in DataTable
8+
9+
- renderToolbar's data prop now return an array of objects instead of array of arrays.
10+
- Before: data = [['first', 'last']], After: data = [{row: ['first', 'last'], selected: true}]
11+
12+
# Upcoming
13+
314
## New Component
415

516
- Add Chip component

packages/visual-stack/src/components/Table/DataTable/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import PropTypes from 'prop-types';
1717
import './DataTable.css';
1818
import LoadingAnimation from '../../LoadingAnimation';
1919

20-
2120
const generateHeaders = ({ columns, ...tableProps }) => {
2221
return columns.map((column, index) => generateHeader(column, index, tableProps));
2322
}

0 commit comments

Comments
 (0)