use2137
React Hook that listens for user to type 2137 and calls a callback function. Good to hide cenzo easter egg on your website
Install
npm install --save use2137
Usage
import React, { Component } from 'react'
import use2137 from 'use2137'
const Example = () => {
use2137(() => alert('jp2gmd'))
return (
<div>xd</div>
)
}
License
MIT © bimbenders
This hook is created using create-react-hook.