Update particles.tsx

This commit is contained in:
CanbiZ 2025-03-12 16:11:51 +01:00
parent 7a4a946aea
commit 88fca6fb55

View File

@ -41,6 +41,7 @@ interface ParticlesProps {
refresh?: boolean;
vx?: number;
vy?: number;
color?: string;
}
const Particles: React.FC<ParticlesProps> = ({
@ -52,6 +53,7 @@ const Particles: React.FC<ParticlesProps> = ({
refresh = false,
vx = 0.1,
vy = 0.1,
color = "#ff00ff",
}) => {
const canvasRef = useRef<HTMLCanvasElement>(null);
const canvasContainerRef = useRef<HTMLDivElement>(null);