mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-01 12:43:58 +00:00
20 lines
523 B
TypeScript
20 lines
523 B
TypeScript
declare module "canvas-confetti" {
|
|
export interface ConfettiOptions {
|
|
particleCount?: number;
|
|
angle?: number;
|
|
spread?: number;
|
|
startVelocity?: number;
|
|
decay?: number;
|
|
gravity?: number;
|
|
drift?: number;
|
|
ticks?: number;
|
|
origin?: { x?: number; y?: number };
|
|
colors?: string[];
|
|
shapes?: string[];
|
|
scalar?: number;
|
|
zIndex?: number;
|
|
}
|
|
|
|
export default function confetti(options?: ConfettiOptions): Promise<null>;
|
|
}
|