diff options
author | Renard | 2019-09-11 19:54:48 -0300 |
---|---|---|
committer | Renard | 2019-09-11 19:54:48 -0300 |
commit | 5382ed028c7ec554f760affa7f533b15421959c9 (patch) | |
tree | 1d897091ee555f05c702b5c3c2130d2aae406ce8 /src/Board.js | |
parent | 12efc9102e1c2590492e9ead60d7de87944dc47f (diff) | |
download | bai-client-5382ed028c7ec554f760affa7f533b15421959c9.tar.gz bai-client-5382ed028c7ec554f760affa7f533b15421959c9.tar.xz bai-client-5382ed028c7ec554f760affa7f533b15421959c9.zip |
First commit
Diffstat (limited to 'src/Board.js')
-rw-r--r-- | src/Board.js | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/Board.js b/src/Board.js new file mode 100644 index 0000000..18eecb8 --- /dev/null +++ b/src/Board.js @@ -0,0 +1,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;
\ No newline at end of file |