Confetti Component
This documentation provides information on how to use the confetti function to create a confetti animation on a webpage.

Installation
To install the Quest react-sdk into your project, follow these steps:
Open your terminal/command prompt.
Navigate to your project's root directory using the
cdcommand if you're not already there.Run the following command to install the
quest-sdkpackage using npm:
This command will download and install the package and its dependencies into your project.
Usage
To use the confetti function, follow these steps:
Import the
confettifunction if it's in a separate module:Call the
confettifunction with an optional duration (in milliseconds):The confetti animation will be displayed on the webpage for the specified duration, and then it will automatically disappear.
Example Usage
Here's an example of how to use the confetti function within your web application:
This documentation provides an overview of the confetti function, usage instructions, and an example of how to trigger the confetti animation in your web application. You can adapt it to your specific needs and provide more details if necessary.
Demo
Last updated