react-snowfall
Version:
A react component that creates a snowfall effect
11 lines (10 loc) • 462 B
TypeScript
import React from 'react';
import { SnowfallCanvasConfig } from './SnowfallCanvas';
export interface SnowfallProps extends Partial<SnowfallCanvasConfig> {
/**
* Any style properties that will be passed to the canvas element.
*/
style?: React.CSSProperties;
}
export declare const Snowfall: ({ color, changeFrequency, radius, speed, wind, rotationSpeed, snowflakeCount, images, style, }?: SnowfallProps) => JSX.Element;
export default Snowfall;