Open advance512 opened 7 years ago
If you wrap the Confetti component in a div you can do that nicely:
<div className="confetti-overlay">
<Confetti active={ this.state.confetti } config={ config } />
</div>
Then just add any absolute positions, z-indexs, etc.
you can also pass a className
prop to the Confetti
component that includes the z-index change
Or perhaps set zIndex=2000 for the confetti div.