diff options
author | Renard | 2020-03-09 12:08:01 -0300 |
---|---|---|
committer | Renard | 2020-03-09 12:08:01 -0300 |
commit | a05cf36bc811e6aa711cac7a83e6af2fb54d0619 (patch) | |
tree | 2b7f0ff5771128bdd9f50673fedb03dd443c3465 | |
parent | ee79e2c2fbbbf07a7e1cf838f0e32253bd304a0a (diff) | |
download | bairadio-app-a05cf36bc811e6aa711cac7a83e6af2fb54d0619.tar.gz bairadio-app-a05cf36bc811e6aa711cac7a83e6af2fb54d0619.tar.xz bairadio-app-a05cf36bc811e6aa711cac7a83e6af2fb54d0619.zip |
Segmento de carga inicial
-rw-r--r-- | src/App.js | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -7,7 +7,8 @@ import { Segment, List, Message, - Dropdown + Dropdown, + Loader } from "semantic-ui-react"; import "fomantic-ui-css/semantic.min.css"; import "./App.css"; @@ -208,7 +209,18 @@ class App extends Component { const isOnline = response.source !== undefined; if (!ready) { - return "Loading"; + return ( + <Container style={{ paddingTop: "50px" }}> + <Segment + textAlign="center" + style={{ paddingTop: "25px", paddingBottom: "25px" }} + > + <Loader active inline> + Obteniendo informaciĆ³n del servidor de IceCast ... + </Loader> + </Segment> + </Container> + ); } const currentStream = multipleSources |