1.0.1 • Published 7 years ago
reactfitti v1.0.1
ReactFitti

Install
npm install reactfitti
yarn add reactfittiUsage
import React from "react";
import Confetti from "confetti";
const App = () => {
return (
<div>
<Confetti />
</div>
);
};
export default App;Props
| Prop | Type | Optional | Default | Description | |
|---|---|---|---|---|---|
| colors | string[] | Yes | Random colors for the confetti papers | ||
| numberOfElements | number | Yes | 250 | Amount of pieces on the view | |
License
MIT © charliesbox