Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Latest commit

 

History

History
46 lines (32 loc) · 863 Bytes

README.md

File metadata and controls

46 lines (32 loc) · 863 Bytes

Matrix

A demo application showing Matrix React component to edit grid-organized data and export to CSV.

Usage

import Matrix, { MatrixMode } from 'matrix'
...
<Matrix
  rows={[50, 100]}
  columns={[50, 100]}
  values={[['50x50', '50x100'], ['100x50', '100x100']]}
  onChange={handleMatrixChange}
  gridSize={50}
  mode={MatrixMode.data}
/>

Development

Install dependencies and run a webpack dev server. The output is opened in brower on localhost:8080

yarn install
yarn start

Production build

Production ready build is located in dist folder after running a command below:

yarn build

Author

Made with 💖 by Alex Ilchenko

License

This project is licensed under the MIT License