fennorad-wordle
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Dependencies (2)

Dev Dependencies (18)

Package Sidebar

Install

npm i fennorad-wordle

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

12.5 kB

Total Files

12

Last publish

Collaborators

  • fernando.napier