react-gradient-animation
Version:
A highly customizable, animated gradient background component for React applications.
7 lines (6 loc) • 410 B
TypeScript
import { RGB } from "./index";
export declare const isValidBlendingMode: (mode: string) => mode is GlobalCompositeOperation;
export declare const debounce: (func: (...args: any[]) => void, wait: number) => (...args: any[]) => void;
export declare const hexToRgb: (hex: string) => RGB;
export declare const getRandom: (min: number, max: number) => number;
export declare const getRandomDirection: () => number;