Effects / Snow

Add a snow fall effect to a component.

Options

OptionWhat it does
sizeDistance 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);