Just for fun, Wordle game as React Component
Wordle as React Component
Demo
Installation
$ npm install react-wordle
# yarn add react-wordle
Example
import { Wordle } from 'react-wordle';
<Wordle
wordList={['piano', 'hello']} // word list
solution="piano" // final word solution
nbRows={6} // number of lines
nbCols={5} // number of cells (letter tile)
/>
Props
name | type | default | description |
---|
License
MIT