class ChoiceSimple extends React.Component { render() { let prob_down = 100 - this.props.prob_up return (
Option A Option B
With probability {this.props.prob_up}%: Get ${this.props.pay_up}

With probability {prob_down}%: Get ${this.props.pay_down}
Get ${this.props.pay_certain} for certain (100%)
) } }