blob: 18eecb8c846c78c171e9b499acf1d54ab9e21139 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
import React, { Component } from "react";
import { Loader } from "semantic-ui-react";
class Board extends Component {
constructor() {
super();
this.state = {
isLoaded: false,
threadList: []
}
}
componentDidMount() {
// fecth boardlist
}
render() {
const { isLoaded, threadList } = this.state;
if (!isLoaded) {
return (
<Loader active centered >
Cargando ...
</Loader>
)
} else {
return "yay";
}
}
}
export default Board;
|