UI: Replace " with ' in particle js code

This commit is contained in:
vakarisz 2022-04-05 11:00:01 +03:00
parent a7259d3345
commit d172b91143
2 changed files with 17 additions and 17 deletions

View File

@ -1,4 +1,4 @@
import Particles from "react-tsparticles"; import Particles from 'react-tsparticles';
import {particleParams} from '../../styles/components/particle-component/ParticleBackgroundParams'; import {particleParams} from '../../styles/components/particle-component/ParticleBackgroundParams';
import React from 'react'; import React from 'react';

View File

@ -1,20 +1,20 @@
export const particleParams = { export const particleParams = {
"fps_limit": 60, 'fps_limit': 60,
"particles": { 'particles': {
"color": {"value": "#646464"}, 'color': {'value': '#646464'},
"links": {"color": "#555555", "distance": 150, "enable": true, "opacity": 0.4, "width": 1}, 'links': {'color': '#555555', 'distance': 150, 'enable': true, 'opacity': 0.4, 'width': 1},
"move": { 'move': {
"bounce": false, 'bounce': false,
"direction": "none", 'direction': 'none',
"enable": true, 'enable': true,
"outMode": "out", 'outMode': 'out',
"random": false, 'random': false,
"speed": 2, 'speed': 2,
"straight": false 'straight': false
}, },
"number": {"density": {"enable": true, "area": 800}, "value": 50}, 'number': {'density': {'enable': true, 'area': 800}, 'value': 50},
"shape": {"type": "circle"}, 'shape': {'type': 'circle'},
"size": {"value": 3} 'size': {'value': 3}
}, },
"detectRetina": true 'detectRetina': true
} }