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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.21latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.21
1.0.100

Package Sidebar

Install

npm i next-emoji-rain

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

10.7 kB

Total Files

8

Last publish

Collaborators

  • bchurton