import React from 'react'; import { Link } from 'react-router-dom'; import { UserType } from './Types'; export default function Avatar(props) { return (
{`${props.user.uname}`}
); } Avatar.propTypes = { user: UserType }