Created
December 1, 2019 19:50
-
-
Save jvanderen1/155598f23201e950d5e7f2b088adae5d 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
// Imports | |
// ------- | |
// Libraries | |
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
// Components | |
import ... | |
// Context | |
import ... | |
// HOCs | |
import ... | |
// Utilities | |
import ... | |
// Internal | |
// -------- | |
class MyComponent extends React.Component { | |
// | |
// Instance methods | |
... | |
// | |
// Lifecycle methods | |
render() { | |
... | |
} | |
} | |
// | |
// Static properties | |
MyComponent.propTypes = { | |
... | |
}; | |
MyComponent.defaultProps = { | |
... | |
}; | |
// Exports | |
// ------- | |
export { | |
MyComponent, | |
}; | |
// Default export | |
export default MyComponent; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment