🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

react-matrix

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-matrix

React Component for representing Matrixes.

latest
Source
npmnpm
Version
0.0.6
Version published
Weekly downloads
11
Maintainers
1
Weekly downloads
 
Created
Source

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} />
    );
  }
});

FAQs

Package last updated on 11 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts