react-native-data-table
react-native-data-table copied to clipboard
"A trailing comma is not permitted after the rest element" Babel error
The newer version of Babel does not support trailing comma after code like
const {
style,
textStyle,
width,
onPress,
text,
isSelected,
isAscending,
...containerProps,
} = props;
Two files have this problem. DataTable.js and HeaderCell.js
Given you've made 2 PRs Fixed in #28 + #29 .
Yes, I made the first PR in a hurry, did not realized there were more changes, so I closed it.
Ah whoops, I thought they were merged not closed. This issue is still a good tweak.
Reopened the PRs