From 5382ed028c7ec554f760affa7f533b15421959c9 Mon Sep 17 00:00:00 2001 From: Renard Date: Wed, 11 Sep 2019 19:54:48 -0300 Subject: First commit --- src/Board.js | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/Board.js (limited to 'src/Board.js') 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 ( + + Cargando ... + + ) + } else { + return "yay"; + } + } +} + +export default Board; \ No newline at end of file -- cgit v1.2.1-18-gbd029