Last active
June 11, 2018 04:50
-
-
Save Nfinley/d8c67931eefb2966e038f7549dcc7845 to your computer and use it in GitHub Desktop.
A react snippet for a stateless component
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 React from 'react'; | |
import PropTypes from 'prop-types'; | |
const propTypes = {}; | |
const defaultProps = {}; | |
function $ComponentName$({ props }) { | |
return ( | |
<div className=""> | |
</div> | |
); | |
}; | |
$ComponentName$.propTypes = propTypes; | |
$ComponentName$.defaultProps = defaultProps; | |
export default $ComponentName$; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment