dashboard table, alarm center table

This commit is contained in:
Muhammad Fajar
2022-12-02 15:31:50 +07:00
parent e83a6784f3
commit 3dc3c474eb
13 changed files with 938 additions and 607 deletions

View File

@@ -1,7 +1,7 @@
/* ---------------------------------- react --------------------------------- */
import { useState, SyntheticEvent } from 'react';
/* ---------------------------------- @mui ---------------------------------- */
import { Box, Tabs, Tab, Container, Grid, Card, Typography } from '@mui/material';
import { Box, Tabs, Tab, Container, Grid, Card } from '@mui/material';
import { styled } from '@mui/material/styles';
/* ------------------------------- components ------------------------------- */
import Page from '../../components/Page';
@@ -43,11 +43,7 @@ function TabPanel(props: TabPanelProps) {
aria-labelledby={`simple-tab-${index}`}
{...other}
>
{value === index && (
<Box>
<Typography>{children}</Typography>
</Box>
)}
{value === index && <Box>{children}</Box>}
</div>
);
}