/* ---------------------------------- react --------------------------------- */ import { useState, SyntheticEvent } from 'react'; /* ---------------------------------- @mui ---------------------------------- */ import { Box, Tabs, Tab, Container, Grid, Card } from '@mui/material'; import { styled } from '@mui/material/styles'; /* ------------------------------- components ------------------------------- */ import Page from '../../components/Page'; /* ---------------------------------- hooks --------------------------------- */ import useSettings from '../../hooks/useSettings'; import List from './List'; /* ------------------------------ tabs setting ------------------------------ */ /* ---------------------------------- types --------------------------------- */ interface TabPanelProps { children?: React.ReactNode; index: number; value: number; } interface StyledTabsProps { children?: React.ReactNode; value: number; onChange: (event: React.SyntheticEvent, newValue: number) => void; } interface StyledTabProps { label: string; icon?: string | React.ReactElement; } /* -------------------------------- tab style ------------------------------- */ function TabPanel(props: TabPanelProps) { const { children, value, index, ...other } = props; return (