import {Fragment} from 'react'; import {Button} from 'sentry/components/button'; import {openConfirmModal} from 'sentry/components/confirm'; import {DropdownMenu} from 'sentry/components/dropdownMenu'; import {IconEllipsis} from 'sentry/icons/iconEllipsis'; import {t} from 'sentry/locale'; import TextBlock from 'sentry/views/settings/components/text/textBlock'; type Props = { hasAccess: boolean; hasFeature: boolean; onDelete: () => void; onEdit: () => void; repositoryName: string; }; function Actions({repositoryName, onEdit, onDelete, hasFeature, hasAccess}: Props) { const actionsDisabled = !hasAccess || !hasFeature; return ( (