Favivon - Correção

This commit is contained in:
2026-05-30 19:59:39 -03:00
parent 76ddaa815d
commit d7dfd221f0
32859 changed files with 5459654 additions and 404 deletions
+26
View File
@@ -0,0 +1,26 @@
import * as THREE from 'three';
import { ThreeElement, ThreeElements } from '@react-three/fiber';
import { ForwardRefComponent } from '../helpers/ts-utils';
declare class SparklesImplMaterial extends THREE.ShaderMaterial {
constructor();
get time(): number;
set time(value: number);
get pixelRatio(): number;
set pixelRatio(value: number);
}
declare module '@react-three/fiber' {
interface ThreeElements {
sparklesImplMaterial: ThreeElement<typeof SparklesImplMaterial>;
}
}
export type SparklesProps = Omit<ThreeElements['points'], 'ref'> & {
count?: number;
speed?: number | Float32Array;
opacity?: number | Float32Array;
color?: THREE.ColorRepresentation | Float32Array;
size?: number | Float32Array;
scale?: number | [number, number, number] | THREE.Vector3;
noise?: number | [number, number, number] | THREE.Vector3 | Float32Array;
};
export declare const Sparkles: ForwardRefComponent<SparklesProps, THREE.Points>;
export {};