Skip to content

ozansabrican/react-random-word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Randomized effected word

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published