1.1.21 • Published 11 months ago
@vgpontes/minesweeper-react v1.1.21
Minesweeper-React
Minesweeper-React is my personal Minesweeper game component built using Typescript and React
Check it out at (https://main.d18z4gghbwx51h.amplifyapp.com/).
Import it into your React project
Run
npm i @vgpontes/minesweeper-react
Import into your project using `import { MinesweeperGame } from '@vgpontes/minesweeper-react'
Sample Code
import { MinesweeperGame } from '@vgpontes/minesweeper-react'
function App() {
return (
<div style={{
width: "100vw",
height: "100vh",
display: "flex",
alignItems: "center",
justifyContent: "center"
}}>
<MinesweeperGame numMines={10} boardHeight={9} boardWidth={9}/>
</div>
);
}
export default App;
License
1.1.19
11 months ago
1.1.18
11 months ago
1.1.21
11 months ago
1.1.20
11 months ago
1.1.17
11 months ago
1.1.16
11 months ago
1.1.15
11 months ago
1.1.14
1 year ago
1.1.13
1 year ago
1.1.12
1 year ago
1.1.11
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago