Created
August 8, 2018 23:17
-
-
Save hpierre74/a9f76cda8877a3ee03a74d86b0eb5fa3 to your computer and use it in GitHub Desktop.
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 withAnim from './withAnim.hoc.js'; | |
const AnyComponent = () => <p>I am a simple Component</p>; | |
const AnimatedComponent = withAnim(AnyComponent); | |
const AnyWrapper = () => ( | |
<div> | |
<AnimatedComponent animation='slideInDown' /> | |
</div> | |
); | |
export default AnyWrapper; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment