Last active
June 25, 2017 23:00
-
-
Save ianwcarlson/4e0ff7975f66ecc2100c138cbee19f7e to your computer and use it in GitHub Desktop.
OpacityAnimation Example Usage
This file contains 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 OpacityAnimation from './OpacityAnimation.jsx'; | |
const Example = ({ showBox }) => ( | |
<OpacityAnimation> | |
{showBox | |
? <div | |
key="Example" | |
style={{ | |
backgroundColor: 'red', | |
height: '30px', | |
width: '30px', | |
}} | |
/> | |
: null} | |
</OpacityAnimation> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment