import React from "react" import { Link } from "@inertiajs/react" import { ArrowDownIcon } from "./Icons" export default function NavDropdown({ name, items }) { const active = items.find(act => act.route === route().current()) return (