import React from 'react'; import { Stack, ProgressIndicator, TooltipHost, DirectionalHint } from '@fluentui/react'; import { EXPERIMENT } from '@static/datamodel'; import { TOOLTIPSTYLE } from '@static/const'; import { leftProgress, progressHeight } from './commonStyle'; import '@style/experiment/overview/count.scss'; interface ProgressBarProps { tooltip: string; percent: number; latestVal: string; presetVal: string; } const ProgressBar = (props: ProgressBarProps): any => { const { tooltip, percent, latestVal, presetVal } = props; return (
{latestVal} / {presetVal}
); }; export default ProgressBar;