hatrena-reactdatagrid
TypeScript icon, indicating that this package has built-in type declarations

7.0.0-canary.15.6 • Public • Published

react-data-grid npm-badge bundlesize-badge ci-badge

Install

npm install react-data-grid

Usage

import DataGrid from 'react-data-grid';
import 'react-data-grid/dist/react-data-grid.css';

const columns = [
  { key: 'id', name: 'ID' },
  { key: 'title', name: 'Title' }
];

const rows = [
  { id: 0, title: 'Example' },
  { id: 1, title: 'Demo' }
];

function App() {
  return (
    <DataGrid
      columns={columns}
      rows={rows}
    />
  );
}

Documentation

Package Sidebar

Install

npm i hatrena-reactdatagrid

Weekly Downloads

1

Version

7.0.0-canary.15.6

License

MIT

Unpacked Size

287 kB

Total Files

113

Last publish

Collaborators

  • hatrena