Effects / Snow
Add a snow fall effect to a component.
Options
Option | What it does |
---|---|
size | Distance to draw outside of the component in pixels |
Example
Example Code
import Tile from "../../components/Tile.js";
import withNeon, { fx } from "react-neon";
const effect = new fx.Snow({ size: 10 });
const Snow = withNeon(Tile, effect);