We have hosted the application react rewards in order to run this application in our online workstations with Wine or directly.


Quick description about react rewards:

A package containing a few micro-interactions you can use to reward your users for little things and make them smile! React-rewards lets you add micro-interactions to your app, and rewards users with the rain of confetti, emoji or balloons in seconds. Firing confetti all over the page may seem like a questionable idea, but keep in mind that rewarding users for their actions is not. If a huge cloud of smiling emoji doesn't fit your application well, try changing the physics config to make it more subtle. In order to use the rewards, you'll need to provide an element that will become the origin of the animation. This element needs to have an ID that matches the one used inside the hook - it can be anywhere in the DOM as long as the IDs match. You can place the element inside a button, center it and shoot up from the button. You can place it on top of the viewport with position: "fixed" and change the angle to 270, to shoot downwards. Try, experiment, have fun!.

Features:
  • This package was inspired by react-dom-confetti
  • Tree-shakeable
  • Built with TypeScript
  • 3.6kB gzipped
  • You can use the same ID to shoot from the same spot, or provide separate elements with unique IDs.
  • Emoji config options


Programming Language: TypeScript.
Categories:
Graphics, Libraries

Page navigation:

©2024. Winfy. All Rights Reserved.

By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.