Created
December 17, 2018 20:18
-
-
Save adrian-afergon/d87c085fe9129da17b0c888c426a6254 to your computer and use it in GitHub Desktop.
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
class Carrousel extends React.PureComponent<{}> { | |
public render () { | |
return ( | |
<div> | |
{this.props.children.map(child => <div>{child}</div>)} | |
</div>); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment