react-native-fiesta
Version:
A set of celebration animations powered by Skia. Engage more with your users by celebrating in your React Native application.
20 lines (19 loc) • 591 B
TypeScript
import React from 'react';
interface FireworkPosition {
x: number;
y: number;
}
export interface FireworkProps {
initialPosition?: FireworkPosition;
color?: string;
autoHide?: boolean;
particleRadius?: number;
fireworkRadius?: number;
/**
* Performance gets affected with more than 180 particles
* @default 50
*/
numberOfParticles?: number;
}
export declare const Firework: React.MemoExoticComponent<({ initialPosition, color, autoHide, particleRadius, fireworkRadius, numberOfParticles, }: FireworkProps) => React.JSX.Element>;
export {};