next-emoji-rain
v1.0.2
Published
Choose an emoji and make a rain with it.
Downloads
31
Maintainers
Readme
next-emoji-rain
Choose an emoji and make a rain with it.
Install
npm install --save next-emoji-rain
or
yarn add next-emoji-rain
Usage
See more on github.
In _app.js
:
import React from 'react';
import 'next-emoji-rain/dist/index.css';
/* Example _app.js file here: */
export default function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
}
On any page:
import React from 'react';
import { EmojiRain } from 'next-emoji-rain';
export default function Home() {
return (
<div>
<EmojiRain emoji="🚀" />
</div>
);
}
Credit
This is a fork of falling-emojis, modified to work with Next.js.
License
MIT © dnyyy