1.0.1 • Published 3 years ago
react-raptorize v1.0.1
react-raptorize 🦖
This component is totally invisible until a user triggers the Konami Code... at which point they will see (and hear) a raptor run across their screen!
Installation
yarn add react-raptorize
npm install react-raptorize --save
Demo
Usage
<Raptorize
soundDelay={500} // Delay (ms) before playing audio
sound // Should sound play at all
repeat // Allow repeating the final code
code // Display the code in the UI
disabled={false} // Will this run at all
/>
This project is inspired by formaweb/vanilla-raptorize... which itself was a port of the original Zurb Raptorize.
License
ISC
1.0.1
3 years ago