Skip to content

Instantly share code, notes, and snippets.

@jeremeylduvall
Last active Sep 23, 2019
Embed
What would you like to do?
Beginnings of Header Component
import React from 'react'
import proptypes from 'prop-types'
const Header = () => {
return (
<h1>Sup</h1>
)
}
Header.PropTypes = {
src: proptypes.string,
username: proptypes.string,
bio: proptypes.string,
}
export default Header;
@arunsathiya
Copy link

arunsathiya commented Sep 21, 2019

PropTypes should be updated to propTypes - details.

@jeremeylduvall
Copy link
Author

jeremeylduvall commented Sep 23, 2019

@arunsathiya - updated! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment