Describe the bug
When use v4.21.6 @toast-ui/react-grid on CRA, babel parsing error comes up.
downgrading to v.4.21.5, working great.
To Reproduce
Steps to reproduce the behavior:
npx create-react-app cra
cd cra
yarn add @toast-ui/react-grid
copy the example on the site as below(https://github.com/nhn/tui.grid/tree/master/packages/toast-ui.react-grid)
Describe the bug When use v4.21.6 @toast-ui/react-grid on CRA, babel parsing error comes up. downgrading to v.4.21.5, working great. To Reproduce Steps to reproduce the behavior: npx create-react-app cra cd cra yarn add @toast-ui/react-grid copy the example on the site as below(https://github.com/nhn/tui.grid/tree/master/packages/toast-ui.react-grid)
App.js import 'tui-grid/dist/tui-grid.css'; import Grid from '@toast-ui/react-grid'; const data = [ {id: 1, name: 'Editor'}, {id: 2, name: 'Grid'}, {id: 3, name: 'Chart'} ];
const columns = [ {name: 'id', header: 'ID'}, {name: 'name', header: 'Name'} ];
const MyComponent = () => ( <Grid data={data} columns={columns} rowHeight={25} bodyHeight={100} heightResizable={true} rowHeaders={['rowNum']} /> );
const App .....
Expected behavior working properly.