interface Props{
    profileImgUrl: string;
    name: string;
}

export function Profile (props: Props) {
    return(
        <div className="flex mx-3 py-3 items-center space-x-3">
            <img src={props.profileImgUrl} alt="Avatar" className="h-12 w-12 rounded-full" />
            <p className="text-sm">Hi {props.name}!</p>
        </div>
    )
}