Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Avatar = ({ imageUrl, className }) => (
- <div className={`avatar ${className}`} onHover={blur}>
- <img src={imageUrl || "placeholder.io"} alt="card image" />
- </div>
- )
- Avatar.propTypes = {
- imageUrl: PropTypes.string.isRequired,
- className: PropTypes.string,
- }
Add Comment
Please, Sign In to add comment