// Тип для пропсов компонента FooterContacts interface FooterContactsProps { contacts: { email: JSX.Element; address: JSX.Element; phone: JSX.Element; }; } function FooterContacts({ contacts }: FooterContactsProps) { return (

{contacts.email}

{contacts.phone}

{contacts.address}

); } export default FooterContacts;