Skip to content

Instantly share code, notes, and snippets.

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

arunsathiya commented Sep 21, 2019

PropTypes should be updated to propTypes - details.

Copy link

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