aboutsummaryrefslogblamecommitdiff
path: root/src/Board.js
blob: 18eecb8c846c78c171e9b499acf1d54ab9e21139 (plain) (tree)































                                                    
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;