I'm trying to install data grid to my mobile app and i always go step by step in documentation of each library. I installed everyting and it writes me error message
I Tried to google, look to the files of library, but nothing. Noone hasn't have this type of problem as I have :/.
import React from 'react';
import ReactDataGrid from 'react-data-grid';
const columns = [
{ key: 'id', name: 'ID' },
{ key: 'title', name: 'Title' },
{ key: 'count', name: 'Count' } ];
const rows = [{id: 0, title: 'row1', count: 20}, {id: 1, title: 'row1', count: 40}, {id: 2, title: 'row1', count: 60}];
function HelloWorld() {
return (<ReactDataGrid
columns={columns}
rowGetter={i => rows[i]}
rowsCount={3}
minHeight={150} />);
}
I did everyting, what is written here: https://github.com/adazzle/react-data-grid https://adazzle.github.io/react-data-grid/docs/quick-start
Is there any way to repair it ? I can send you anything, but i really need it. Thanks a lot for help :)