UNPKG

react-award

Version:

React component for rewarding users

18 lines (17 loc) 794 B
/// <reference types="react" /> /** * Use this version if you are using react-award without any other lottie-based package * and you want to reduce the footprint that react-award leaves in your bundle. * * If you are using other lottie-based components, it is recommended that you use full/light * depending on the internal lottie dependency of those components. * * - - - * * This React component displays a solid color mask with the silhouette of an image, * and when triggered, it performs a fade-in effect to reveal the image. * * The component also plays a confetti animation. * The user can specify different images or animation files for the component to display. */ export declare const Award: import("react").FC<import("./components/award").AwardProps>;