react-image-parallax2

0.1.6 • Public • Published

react-image-parallax2

Demo

Props:

reduceHeight: float ( > 0 and < 1 )
src: string (Image src)

  • Note: You can pass other props like passing to a normal <img/> component.

Example:

<ImageParallax
  reduceHeight={1/3}
  src={'http://lorempixel.com/700/600/animals/'}/>

/react-image-parallax2/

    Package Sidebar

    Install

    npm i react-image-parallax2

    Weekly Downloads

    1

    Version

    0.1.6

    License

    none

    Last publish

    Collaborators

    • chuson1996