Skip to content

Instantly share code, notes, and snippets.

@luandevpro
Created August 17, 2019 06:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luandevpro/2676791223a4645e7ba397531b8e8696 to your computer and use it in GitHub Desktop.
Save luandevpro/2676791223a4645e7ba397531b8e8696 to your computer and use it in GitHub Desktop.
import PropTypes from 'prop-types';
const Index = () => {
return (
<div style={{ textAlign: 'center', margin: '100px' }}>
<h1>hello</h1>
</div>
);
};
export default Index;
Index.propTypes = {
user: PropTypes.object, // eslint-disable-line
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment