import NavigationMenuItem from "./NavigationMenuItem"

import styles from "./navigationMenu.module.css"

import { NavigationMenuProps } from "@/types/components/header/navigationMenu"

export default function NavigationMenu({ items }: NavigationMenuProps) {
  return (
    <ul className={styles.navigationMenu}>
      {items.map((item) => (
        <li key={item.id}>
          <NavigationMenuItem item={item} />
        </li>
      ))}
    </ul>
  )
}
