Effects / Sale

The shader effect puts a rotating sale icon on a component, using three.js to generate and display the model. This effect is not part of the fx library, but it can be downloaded from the React Neon docs repo - Sale effect.

Options

Effect has no options.

Example

Example Code

import Tile from "../../components/Tile.js";
import Sale from '../../effects/sale';
import withNeon from "react-neon";
const effect = new Sale();
const SaleTile = withNeon(Tile, effect);