import React from "react"; import * as styles from "./Contacts.module.scss"; import { Icon } from "@/components/Icon"; import { ICONS } from "@/constants"; import { Dictionary } from "@/types"; import { getContactHref, getIcon } from "@/utils"; type Props = { contacts: Dictionary; }; const Contacts: React.FC = ({ contacts }: Props) => (
    {(Object.keys(contacts) as Array).map((name) => contacts[name] ? (
  • ) : null )}
); export default Contacts;