| // @flow | |
| import * as React from "react"; | |
| type Props = {| | |
| +avatarURL: string, | |
| |}; | |
| function ProfileImage({ avatarURL }: Props): React.Node { | |
| return <img className="card-profile-img" alt="Profile" src={avatarURL} />; | |
| } | |
| export default ProfileImage; | |
| // @flow | |
| import * as React from "react"; | |
| type Props = {| | |
| +avatarURL: string, | |
| |}; | |
| function ProfileImage({ avatarURL }: Props): React.Node { | |
| return <img className="card-profile-img" alt="Profile" src={avatarURL} />; | |
| } | |
| export default ProfileImage; | |