Open KyleAsaff opened 7 years ago
Table.render node_modules/react-toolbox/lib/table/Table.js:136
133 |
134 | return _react2.default.createElement(
135 | 'table',
> 136 | _extends({}, rest, { className: (0, _classnames2.default)(theme.table, className) }),
137 | _react2.default.createElement(
138 | 'thead',
139 | { className: theme.head },
Had the same exact issue - solved by
import { Table, TableHead, TableRow, TableCell } from 'react-toolbox/lib/table';
instead of
import { Table, TableHead, TableRow, TableCell } from 'react-toolbox/lib/table/Table';
I am trying to render https://github.com/react-toolbox/react-toolbox/tree/2.0.0-beta.8/components/table and get a TypeError. I am able to render the button component fine as a test but unable to render a table:
DataTable.js:
App.js:
Index.js:
any work around for this issue?