0.0.6 • Published 10 years ago

react-matrix v0.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

react-matrix

React Component for representing Matrixes.

Example

https://cirocosta.github.io/react-matrix

React Matrix

React.createClass({
  getInitialState: function () {
    return {
      matrix: [
        [0,0,0,0,0],
        [0,1,0,1,0],
        [0,1,1,1,0],
        [0,0,1,0,0],
        [0,0,0,0,0],
      ]
    }
  },

  render: function () {
    return (
      <Matrix squareSize={20} matrix={this.state.matrix} />
    );
  }
});
0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago