1.0.4 • Published 6 months ago

graffiti-package v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

Welcome to this graffiti package.

In order to use this package do the following steps:

1- npm i graffiti-package

2- import it in your react app - import {Graffiti} from 'graffiti-package';

3- The Graffiti tag requires two parameters - one for the sticker = 'your path to sticker file' (png|jpg|webp|gif|svg) - other for the soundFile = 'your path to audio file' (mp3)

<Graffiti
sticker= 'yourfile.png'
soundFile= 'yourfile.mp3'
/>

4- on your app press "t" and your sticker will appear for a few seconds making a sound of your choice.