import React from 'react'; import { getNavigationValue } from '@brojs/cli'; import { HeaderContainer, NavContainer, NavItem, NavLink } from './index.style'; const navigations: Array<{ name: string; href: string }> = [ { name: 'Главная', href: getNavigationValue('kfu-24-teacher.main') }, { name: 'Детальная информация', href: getNavigationValue('kfu-24-teacher.detail') } ]; const Header = (): React.ReactElement => { return ( {navigations.map((item) => { return ( {item.name} ); })} ); }; export default Header;