import React from 'react'; import { Trans, withTranslation } from 'react-i18next'; import { INSTALL_TOTAL_STEPS } from '../../helpers/constants'; const getProgressPercent = (step: any) => (step / INSTALL_TOTAL_STEPS) * 100; type Props = { step: number; }; const Progress = (props: Props) => (
install_step {props.step}/{INSTALL_TOTAL_STEPS}
); export default withTranslation()(Progress);