import profile from '../../../assets/profile.svg';
type Contact = {
  contact: string | null;
};
function ContactProfile({ contact }: Contact) {
  return (
    <>
      <div className="m-2 flex items-center">
        <div className="text-center text-gray-200 flex">
          <img className="w-4 mr-2 invert" src={profile} alt="profile img" />
          <p>{contact ? contact : null}</p>
        </div>
      </div>
    </>
  );
}

export default ContactProfile;
