diff --git a/components/Avatar.js b/components/Avatar.js index 0eaf883..a0ac84c 100644 --- a/components/Avatar.js +++ b/components/Avatar.js @@ -6,7 +6,7 @@ export default function Avatar(props) { return ( The one and only bongo cat! ); @@ -14,4 +14,9 @@ export default function Avatar(props) { Avatar.propTypes = { size: PropTypes.string.isRequired, + src: PropTypes.string +}; + +Avatar.defaultProps = { + src: "/images/bongo.png" };