import { Save } from 'lucide-react'; import type { ReactNode } from 'react'; // import { EModelEndpoint } from 'librechat-data-provider'; import { cn, removeFocusOutlines } from '~/utils'; // import PopoverButtons from './PopoverButtons'; import { CrossIcon } from '~/components/svg'; import { Button } from '~/components/ui'; import { useLocalize } from '~/hooks'; type TEndpointOptionsPopoverProps = { children: ReactNode; visible: boolean; // endpoint: EModelEndpoint; saveAsPreset: () => void; closePopover: () => void; PopoverButtons: ReactNode; }; export default function EndpointOptionsPopover({ children, // endpoint, visible, saveAsPreset, closePopover, PopoverButtons, }: TEndpointOptionsPopoverProps) { const localize = useLocalize(); const cardStyle = 'shadow-xl rounded-md min-w-[75px] font-normal bg-white border-black/10 border dark:bg-gray-700 text-black dark:text-white'; return ( <>
{PopoverButtons}
{children}
); }