react-winmine

1.0.0 • Public • Published

React-Winmine

Build Status

Classic windows minesweeper game for React.

Installation and usage

npm install git://github.com/Chuan-Kuei/react-winmine.git

And then

import React from "react";
import WinMine from "react-winmine";
import "react-winmine/lib/react-winmine.css";


render() {
  return (
      <div>
        <WinMine />
      </div>
  )
}

Props

Name Type Default Description
level {String} easy easy: 9x9, mine: 10
medium:16x16, mine:40
hard: 30x16, mine:99

License

MIT

Package Sidebar

Install

npm i react-winmine

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

80 kB

Total Files

42

Last publish

Collaborators

  • sp031803