Last active
April 25, 2019 10:47
-
-
Save ArunMichaelDsouza/9ac6e95cee78254ef21d2ac2b7784404 to your computer and use it in GitHub Desktop.
react-image-appear demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactImageAppear from 'react-image-appear'; | |
class MyComponent extends React.Component { | |
constructor(props) { | |
super(props); | |
} | |
render() { | |
return ( | |
<ReactImageAppear | |
src="https://newevolutiondesigns.com/images/freebies/tropical-beach-background-8.jpg" | |
animation="zoomIn" | |
animationDuration="1s" | |
/> | |
); | |
} | |
} | |
export default MyComponent; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment