conway-react

1.0.4 • Public • Published

conway-react

Conway game for react.

In this Demo you may get familiar with how the component works.

Installation

react version >= 16.8

npm i conway-react

Import

import Conway from 'conway-react';

Usage

<Conway />

or

<Conway
  rowSize={30}
  colSize={30}
  sideWidth={600}
  timeSLot={50}
  className="myClassName"
>

Attributes

Attributes Type Default Description
rowSize number 30 Number of rows
colSize number 30 Number of columns
sideWidth number 600 Table height and width (pixels)
timeSlot number 50 Game update time interval (ms)
className string '' It's the class of all elements (BEM)

Readme

Keywords

Package Sidebar

Install

npm i conway-react

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

8.38 kB

Total Files

7

Last publish

Collaborators

  • shant