/** * @copyright nhcarrigan * @license Naomi's Public License * @author Naomi Carrigan */ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import type { IconDefinition } from "@fortawesome/fontawesome-svg-core"; import type { JSX } from "react"; interface SocialProperties { readonly icon: IconDefinition; readonly link: string; readonly label: string; readonly alt: string; readonly color: string; readonly background: string; } /** * Renders the view for a social media link. * @param properties - The link to render. * @returns A JSX element. */ export const Social = (properties: SocialProperties): JSX.Element => { const { icon, link, label, alt, background, color } = properties; return ( {label} ); };