import { Dropdown, MenuItem } from 'react-bootstrap' import { User } from '../../../../../../types/group-management/user' import ControlledDropdown from '../../../../shared/components/controlled-dropdown' import { useTranslation } from 'react-i18next' import MenuItemButton from '../../../project-list/components/dropdown/menu-item-button' type ManagedUserDropdownButtonProps = { user: User openOffboardingModalForUser: (user: User) => void } export default function ManagedUserDropdownButton({ user, openOffboardingModalForUser, }: ManagedUserDropdownButtonProps) { const { t } = useTranslation() const onDeleteUserClick = () => { openOffboardingModalForUser(user) } return ( <>