react-native-fiesta
Version:
A set of celebration animations powered by Skia. Engage more with your users by celebrating in your React Native application.
17 lines (16 loc) • 447 B
TypeScript
import React from 'react';
export interface ConfettiProps {
initialPosition?: {
x: number;
y: number;
};
color?: string;
index?: number;
size?: number;
/**
* Duration of the animation in milliseconds
* @default 6000
*/
duration?: number;
}
export declare const Confetti: React.MemoExoticComponent<({ initialPosition, color, index, size, duration, }: ConfettiProps) => React.JSX.Element>;