score:0

class MarketIndices extends Component {
  constructor(props) {
    super(props);
    this.state = {
      data: {
        average: 426.661,
        close: 427.11,
        date: "2020-10-02,
       }
    };
  }

render() {
    return (
      <div>
           {this.state.data.average}
      </div>
    );
  }
}


Related Query

More Query from same tag