import React, { Component } from 'react'; import { Box, Tabs, Tab, Paper, Typography, } from '@mui/material'; import { AccountBalance as KreditorIcon, AccountBalanceWallet as KontoIcon, Receipt as BUIcon, } from '@mui/icons-material'; import KreditorTable from './admin/KreditorTable'; import KontoTable from './admin/KontoTable'; import BUTable from './admin/BUTable'; class TableManagement extends Component { constructor(props) { super(props); this.state = { activeTab: 0, }; } handleTabChange = (event, newValue) => { this.setState({ activeTab: newValue }); }; render() { const { activeTab } = this.state; const { user } = this.props; return ( Stammdaten verwalten } label="Kreditoren" sx={{ minHeight: 64 }} /> } label="Konten" sx={{ minHeight: 64 }} /> } label="Buchungsschlüssel" sx={{ minHeight: 64 }} /> {activeTab === 0 && } {activeTab === 1 && } {activeTab === 2 && } ); } } export default TableManagement;