import { Button, Modal } from 'react-bootstrap' import { useTranslation } from 'react-i18next' import { sendMB } from '@/infrastructure/event-tracking' type ViewOnlyAccessModalContentProps = { handleHide: () => void } export default function ViewOnlyAccessModalContent({ handleHide, }: ViewOnlyAccessModalContentProps) { const { t } = useTranslation() return ( <> {t('view_only_access')} {t('this_project_already_has_maximum_editors')} {t('please_ask_the_project_owner_to_upgrade_more_editors')} { sendMB('notification-click', { name: 'link-sharing-collaborator-limit', button: 'learn', }) }} > {t('learn_more')} { sendMB('notification-click', { name: 'link-sharing-collaborator-limit', button: 'ok', }) handleHide() }} > {t('ok')} > ) }
{t('this_project_already_has_maximum_editors')}
{t('please_ask_the_project_owner_to_upgrade_more_editors')}