Closed koniuszy closed 4 years ago
mode: ['grab', 'repulse'], can be an array not only a single string
sample:
import Particles, { IParticlesParams } from 'react-particles-js' const ParticleSett = { ... interactivity: { detect_on: 'canvas', events: { onhover: { enable: true, mode: ['grab', 'repulse'] }, ... } <Background params={ParticleSett} />
Thanks for the feedback. v2.7.1 should fix the issue
v2.7.1
mode: ['grab', 'repulse'], can be an array not only a single string
sample: