I am following a tutorial to create a FixedDataTable with React. However, I have some issues getting the following line to work in my jsx-file:
const {Table, Column, Cell} = require('fixed-data-table');
which gives the error (in Chrome):
Uncaught SyntaxError: Unexpected token {
I am using browserify and reactify to transform my jsx code to javascript. Other lines using require work fine.
I am quite new to JavaScript and React and would appreciate any suggestions to solve hte problem.