0.0.2 • Published 8 years ago

react-random-word v0.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

React-random-word

Inspired by the randomized words in Full Stack Fest 2016.

It includes linting with ESLint.

Real basic testing with Ava and Enzyme.

Also there is ES6 transpilation.

Usage

npm install --save react-random-word

<RandomWord
  word="<the_festival />"
  speed={100}
  rounds={10}
  letters="0123456789"
/>

Props

word(string)

  • Finalized word itself. This word will be seen after the animation.

speed(ms)

  • Interval in milliseconds betweed rounds. Defaults to 150.

rounds

  • Maximum rounds for each letter to be finalized. Defaults to 20.

letters

  • Letters will be randomized given this letter set. Defaults to 'abcdef0123456789'.

Feel free to open an issue and give feedback.

License

MIT

0.0.2

8 years ago

0.0.1

8 years ago