import React, { Component } from "react"; import { Container, Row, Col } from "react-bootstrap"; import { makeStyles, createMuiTheme, MuiThemeProvider } from '@material-ui/core/styles'; import SearchIcon from '@material-ui/icons/Search'; import Images from "../../assets/Images"; import MUIDataTable from "mui-datatables"; import { TextField, InputBase } from "@material-ui/core"; import { ExcelRenderer } from 'react-excel-renderer'; import CreateItemLaporan from "./formItemLaporan/CreateItemLaporan"; var ct = require("../../library/CustomTable"); const getMuiTheme = () => createMuiTheme(ct.customTable()); const options = ct.customOptions(); const options2 = ct.customOptions2(); export default class ItemLaporan extends Component { constructor(props) { super(props) this.state = { dataTable: [], listData: [], data: [], add: false, edit: false } } closeEdit() { this.setState({edit: false}) } closeAdd() { this.setState({add: false}) } render() { const columns = [{ name: "Action", options: { customBodyRender: (val, tableMeta) => { return (