Check all the parameters and props for scroll parallax on official npm page
Example code:
import { ScrollParallax } from 'react-just-parallax';
<div className='wrapper'>
<ScrollParallax isAbsolutelyPositioned>
<span className='ring'/>
</ScrollParallax>
</div>
Check all the parameters and props for mouse parallax on official npm page
Example code:
import { MouseParallax } from 'react-just-parallax';
<div className='wrapper'>
<MouseParallax enableOnTouchDevice isAbsolutelyPositioned>
<span className='ring'/>
</MouseParallax>
</div>