score:1

Accepted answer
{ 
  payment === "paypal" && 
    <TextField
      id="gcash-num"
      label="paypal"
      type="number"
      fullWidth
    /> 
}

{
  payment === "cod" &&
    <p>cod is chosen for the payment option</p>
}

Related Query

More Query from same tag