mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:19:45 +00:00
21 lines
441 B
TypeScript
21 lines
441 B
TypeScript
// Тип для пропсов компонента FooterContacts
|
|
interface FooterContactsProps {
|
|
contacts: {
|
|
email: JSX.Element;
|
|
address: JSX.Element;
|
|
phone: JSX.Element;
|
|
};
|
|
}
|
|
|
|
function FooterContacts({ contacts }: FooterContactsProps) {
|
|
return (
|
|
<div className="contacts">
|
|
<p>{contacts.email}</p>
|
|
<p>{contacts.phone}</p>
|
|
<p>{contacts.address}</p>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default FooterContacts;
|