1. Install
npm install react-particles-js
|| yarn add react-particles-js
2引入+使用
1.引入:import Particles from "react-particles-js";
2. use
3. Use effect
Here you can choose the specified configuration items according to your needs.
Configure and export
Put the copied content into params