diff options
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 |