This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filtros num datagrid, podendo os dados virem em json do servidor ou nao. Esses filtros poderiam ser selecionados por um select ou um simples por um campo só da tabela |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useContext } from "react"; | |
import Dashboard from "./Dashboard"; | |
import Login from "./Login"; | |
import AppContext from "./AppContext"; | |
export default () => { | |
const { machine, error } = useContext(AppContext); | |
console.log("executing App component..."); | |
return ( |