import { SocialLink } from '../../../interfaces/social-link.model'; import s from './SocialLinks.module.scss'; interface Props { // eslint-disable-next-line react/no-unused-prop-types links: SocialLink[]; } // eslint-disable-next-line @typescript-eslint/no-unused-vars export default function SocialLinks(props: Props) { const { links } = props; return (
{links.map(link => ( {link.platform} ))}
); }