import React, { PropsWithChildren } from "react"; import { Menu } from "@headlessui/react"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faBars } from "@fortawesome/free-solid-svg-icons/faBars"; import { SourcifySource } from "./url"; import { useAppConfigContext } from "./useAppConfig"; const SourcifyMenu: React.FC = () => { const { sourcifySource, setSourcifySource } = useAppConfigContext(); return (
); }; type SourcifyMenuItemProps = { checked?: boolean; onClick: () => void; }; const SourcifyMenuItem: React.FC