import ReactMarkdown from 'react-markdown' import {Paper, Grid, CircularProgress, Button, Link} from "@mui/material" import React, { Component } from 'react' export default class InfoPage extends Component { constructor(props) { super(props); this.state = { info: null, loading: true, }; this.getInfoMarkdown() } getInfoMarkdown() { fetch('/static/assets/info.md') .then((response) => response.text()) .then((data) => this.setState({info:data, loading:false})); } render() { return ( {this.state.loading ? : ""} ) } }