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

wialy/matrix

Repository files navigation

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

About

Demo app showing Matrix React component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published