Personal Dashboard

ProfilePic.jsx 222B

12345
  1. import React from 'react'
  2. import { Placeholder } from './Placeholder'
  3. export const ProfilePic = ({ src }) => src ? <img src={src} /> :
  4. <Placeholder iconName="mugshot" title="No picture" description="Click to change"/>