next-emoji-rain

1.0.2 • Public • Published

next-emoji-rain

Choose an emoji and make a rain with it.

NPM JavaScript Style Guide

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i next-emoji-rain

      Weekly Downloads

      10

      Version

      1.0.2

      License

      MIT

      Unpacked Size

      10.7 kB

      Total Files

      8

      Last publish

      Collaborators

      • bchurton