diff --git a/src/compounds/Logo/Logo.jsx b/src/compounds/Logo/Logo.jsx index c9f0155..2bba2ca 100644 --- a/src/compounds/Logo/Logo.jsx +++ b/src/compounds/Logo/Logo.jsx @@ -2,8 +2,8 @@ import React from 'react' import PropTypes from 'prop-types' import Image from '../../components/Image/Image' -const Logo = ({ addClass, alt, src, height }) => ( - +const Logo = ({ addClass, alt, src, height, logoUrl }) => ( + {alt} ) @@ -13,12 +13,14 @@ Logo.propTypes = { alt: PropTypes.string, src: PropTypes.string.isRequired, height: PropTypes.number, + logoUrl: PropTypes.string, } Logo.defaultProps = { addClass: '', alt: '', height: 50, + logoUrl: '/' } export default Logo