1.0.0 • Published 5 years ago
react-winmine v1.0.0
React-Winmine
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: 10medium:16x16, mine:40hard: 30x16, mine:99 |
License
1.0.0
5 years ago