{"size": 364, "ext": "js", "max_stars_repo_path": "components/Icons/ContactIcon.js", "max_stars_repo_name": "garethmoores/garethmoores_com_website", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "components/Icons/ContactIcon.js", "max_issues_repo_name": "garethmoores/garethmoores_com_website", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "components/Icons/ContactIcon.js", "max_forks_repo_name": "garethmoores/garethmoores_com_website", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.3333333333, "max_line_length": 118, "alphanum_fraction": 0.6565934066}
import React from 'react';

export function ContactIcon({ href, styling, children }) {
  return (
    <div className={`${styling} m-1 bg-white rounded-full flex items-center justify-center border-2 border-gray-400`}>
      <a href={href} className="text-white no-underline" rel="nopener noreferrer" target="_blank">
        {children}
      </a>
    </div>
  );
}
