import React from "react"; import { Button, Spinner } from "react-bootstrap"; import { Grid } from "@material-ui/core"; import { GridSize } from "@material-ui/core/Grid/Grid"; const Loading = (props: { target?: string; gridSize?: GridSize }) => { const { gridSize, target } = props; const title = target ? `Fetching ${target}` : "Connecting to Websocket"; return ( ); }; export default Loading;