import React from 'react'; import { translate } from 'react-i18next'; import { Notification } from '@scm-manager/ui-components'; type Props = { // context props t: (p: string) => string; }; class InstallSuccessNotification extends React.Component { render() { const { t } = this.props; return ( {t('plugins.modal.successNotification')}{' '} window.location.reload(true)}> {t('plugins.modal.reload')} ); } } export default translate('admin')(InstallSuccessNotification);