IntermediateVal.tsx 450 Bytes
Newer Older
1
import * as React from 'react';
2
import { TRIALS } from '../../static/datamodel';
3
4

interface IntermediateValProps {
5
    trialId: string;
6
7
8
9
10
11
12
}

class IntermediateVal extends React.Component<IntermediateValProps, {}> {
    constructor(props: IntermediateValProps) {
        super(props);
    }

Lijiao's avatar
Lijiao committed
13
    render(): React.ReactNode {
14
        return <div>{TRIALS.getTrial(this.props.trialId).formatLatestAccuracy()}</div>;
15
16
17
18
    }
}

export default IntermediateVal;