Created
July 6, 2016 21:03
-
-
Save zuk/86cbde3a8822210351017cafb98546f6 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
import './Foo.scss' | |
export default class Foo extends React.Component { | |
render() { | |
const { someProp } = this.props | |
return ( | |
<div className="Foo"> | |
... | |
</div> | |
) | |
} | |
} | |
Foo.propTypes = { | |
someProp: React.PropTypes.string.isRequired | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment