react-native-fiesta
Version:
A set of celebration animations powered by Skia. Engage more with your users by celebrating in your React Native application.
13 lines (12 loc) • 457 B
TypeScript
import React from 'react';
import { type ConfettiProps } from './Confetti';
export interface ConfettisProps extends Pick<ConfettiProps, 'size' | 'duration'> {
autoHide?: boolean;
theme?: string[];
/**
* Number of confettis to render
* @default 30
*/
numberOfConfettis?: number;
}
export declare const Confettis: React.MemoExoticComponent<({ theme, numberOfConfettis, duration, }: ConfettisProps) => React.JSX.Element | null>;