1.0.14 • Published 3 years ago

react-move-element v1.0.14

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
3 years ago

React-move-element

Rotating element with your mouse movement in React

React-move-element is a react component that rotates your element(s) by tracking your mouse movements and scroll on your pages in React.

  • Track your mouse & scroll
  • Light package
  • React v.16 and higher

Installation

yarn add react-move-element
npm install react-move-element

Using

  import RotatingElement from 'react-move-element'

 <RotatingElement isFixed={isFixed}>
     <img
        src={"/fileName"}
        height={}
        width={}
        alt="exemple"
    />
 </RotatingElement>

Props

PropsDescription
isFixedisFixed indicates that that the element is fixed on the page

Exemple with props isFixed:

 <RotatingElement isFixed={false}></RotatingElement>
1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago