@mmgj/react-hover-tilt
v1.0.1
Published
Tilt hover effect wrapper
Downloads
3
Readme
@mmgj/react-hover-tilt
Wrapper component for applying a tilty hover effect
Based on react-tilt by @jonathandion.
Usage
yarn add @mmgj/react-hover-tilt
import Tilt from '@mmgj/react-hover-tilt';
// ...
<Tilt>
<div style={{ height: 200, width: 150, padding: 15, background: 'tomato' }}>
I am a tilty div!
</div>
</Tilt>