Skip to content

Commit 2f67409

Browse files
committed
build: updated docs
1 parent e064f1a commit 2f67409

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

components/react-alt/src/Particles.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ import { tsParticles, Container } from "tsparticles-engine";
33
import equal from "deep-eql";
44
import type { IParticlesProps } from "./IParticlesProps";
55
import type { IParticlesState } from "./IParticlesState";
6-
import type { ISourceOptions } from "tsparticles-engine";
76

87
const defaultId = "tsparticles";
98

109
/**
11-
* @param {{id?: string,width?: string,height?: string,options?: ISourceOptions,params?: ISourceOptions,style?: CSSProperties,className?: string,canvasClassName?: string,container?: RefObject<Container>}}
10+
* @param {{id?: string,width?: string,height?: string,options?: import("tsparticles-engine").ISourceOptions,params?: import("tsparticles-engine").ISourceOptions,style?: import("react").CSSProperties,className?: string,canvasClassName?: string,container?: RefObject<Container>}}
1211
*/
1312
export default class Particles extends Component<IParticlesProps, IParticlesState> {
1413
static defaultProps: IParticlesProps = {

components/react/src/Particles.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ import { tsParticles, Container } from "tsparticles-engine";
33
import equal from "deep-eql";
44
import type { IParticlesProps } from "./IParticlesProps";
55
import type { IParticlesState } from "./IParticlesState";
6-
import type { ISourceOptions } from "tsparticles-engine";
76

87
const defaultId = "tsparticles";
98

109
/**
11-
* @param {{id?: string,width?: string,height?: string,options?: ISourceOptions,params?: ISourceOptions,style?: CSSProperties,className?: string,canvasClassName?: string,container?: RefObject<Container>}}
10+
* @param {{id?: string,width?: string,height?: string,options?: import("tsparticles-engine").ISourceOptions,params?: import("tsparticles-engine").ISourceOptions,style?: import("react").CSSProperties,className?: string,canvasClassName?: string,container?: RefObject<Container>}}
1211
*/
1312
export default class Particles extends Component<IParticlesProps, IParticlesState> {
1413
static defaultProps: IParticlesProps = {

0 commit comments

Comments
 (0)