react-raptorize

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i react-raptorize

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

204 kB

Total Files

11

Last publish

Collaborators

  • kylepeeler