1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | import { ComponentClass } from "react";
|
8 | import { Container } from "tsparticles/Core/Container";
|
9 | import { ISourceOptions } from "tsparticles";
|
10 |
|
11 | export type IParticlesParams = ISourceOptions;
|
12 |
|
13 | export * from 'tsparticles/Enums';
|
14 | export * from "tsparticles/Plugins/Absorbers/Enums";
|
15 | export * from "tsparticles/Plugins/Emitters/Enums";
|
16 | export * from "tsparticles/Plugins/PolygonMask/Enums";
|
17 |
|
18 | export interface ParticlesProps {
|
19 | width?: string;
|
20 | height?: string;
|
21 | params?: IParticlesParams;
|
22 | style?: any;
|
23 | className?: string;
|
24 | canvasClassName?: string;
|
25 | particlesRef?: React.RefObject<Container>;
|
26 | }
|
27 |
|
28 | type Particles = ComponentClass<ParticlesProps>;
|
29 |
|
30 | declare const Particles: Particles;
|
31 | export default Particles;
|