react-native-fiesta
Version:
A set of celebration animations powered by Skia. Engage more with your users by celebrating in your React Native application.
15 lines (14 loc) • 525 B
TypeScript
import React from 'react';
import { type FireworkProps } from './Firework';
export interface FireworksProps extends Pick<FireworkProps, 'numberOfParticles'> {
autoHide?: boolean;
particleRadius?: number;
theme?: string[];
fireworkRadius?: number;
/**
* For performance reasons, limiting the maximum number to 10
* @default 3 - most performant number of fireworks
*/
numberOfFireworks?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
}
export declare const Fireworks: React.FC<FireworksProps>;