0.0.7 • Published 5 years ago

react-partyparrot v0.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

npm.io react-partyparrot npm.io

npm.io

npm.io Installation

Install the package react-partyparrot with your favorite package manager.

npm.io Configuration

You need to make the parrot gifs publicly accessible. There are the following options to do that:

  • symlink or copy the folder node_modules/react-partyparrot/parrots manually to your public directory
  • or better: Use copy-webpack-plugin to copy the files at build time

The component expects the gif to be accessible in /parrots, but you can change that.

import { setPublicParrotPath } from 'react-partyparrot'

setPublicParrotPath('/your/custom/parrot/path')

npm.io Usage

Import the parrot component

import Parrot from 'react-partyparrot'

And use it in your app

<Parrot />

npm.io Props

NameTypeRequiredDefaultDescription
namestringno''Name of the parrot. Omit to get the default parrot.
hdboolnofalseGet HD version of the parrot.

npm.io License

View the license file

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago