import React, { Fragment, FC, ReactType, ReactNode } from 'react'; import css from './index.module.css'; import DefaultLink, { LinkProps } from '../../blocks/Link'; import CountrySwitcher, { CountrySwitcherProps } from '../CountrySwitcher'; import LanguageSwitcher, { LanguageSwitcherProps } from '../LanguageSwitcher'; import Content from '../Content'; import TwitterSVG from '../../assets/icons/social/twitter.svg'; import FacebookSVG from '../../assets/icons/social/facebook.svg'; import LinkedinSVG from '../../assets/icons/social/linkedin.svg'; import XingSVG from '../../assets/icons/social/xing.svg'; import InstagramSVG from '../../assets/icons/social/instagram.svg'; import { MilaGridColumn, MilaGridVoid } from '../../index'; export interface FooterProps { navigationItems: { name: string; items: {}[]; }[]; socialNavigation: { items: { Link: ReactType; LinkProps: LinkProps; }[]; }; contactNavigation: { name: string; items: { Link: ReactType; LinkProps: LinkProps; }[]; }; CountrySwitcherProps: CountrySwitcherProps; LanguageSwitcherProps: LanguageSwitcherProps; children?: ReactNode; } export interface NavigationItemProps { Link: ReactType; LinkProps: LinkProps; info?: []; hideInPartnerPages?: boolean; } export const NavigationItem: FC = ({ Link, LinkProps, info, }) => { return (

  • {info && ( <> {info.map((item, i) => ( {item} ))} )}
  • ); }; const Footer: FC = ({ navigationItems, socialNavigation, contactNavigation, CountrySwitcherProps, LanguageSwitcherProps, children, }) => ( ); export default Footer;