File was renamed from rsf-admin/src/page/settings/Settings.jsx |
| | |
| | | import { Stack, Grid, Box, Typography, Card, CardContent, Tabs, Tab } from '@mui/material'; |
| | | import * as Common from '@/utils/common'; |
| | | import { } from '@/config/setting'; |
| | | import BaseSettings from "./BaseSettings"; |
| | | |
| | | const Settings = () => { |
| | | const Index = () => { |
| | | const authProvider = useAuthProvider(); |
| | | const navigate = useNavigate(); |
| | | const translate = useTranslate(); |
| | |
| | | ) |
| | | } |
| | | |
| | | const BaseSettings = (props) => { |
| | | const { children, value, ...other } = props; |
| | | |
| | | return ( |
| | | <Box |
| | | hidden={value !== 0} |
| | | sx={{ p: 3 }} |
| | | {...other} |
| | | > |
| | | <Grid container spacing={6}> |
| | | <Grid item xs={12}> |
| | | {/* https://github.com/themeselection/materio-mui-nextjs-admin-template-free/blob/main/javascript-version/src/views/account-settings/account/AccountDetails.jsx */} |
| | | <Card> |
| | | <CardContent className='mbe-5'> |
| | | <Typography> |
| | | Base Settings |
| | | </Typography> |
| | | </CardContent> |
| | | </Card> |
| | | |
| | | </Grid> |
| | | </Grid> |
| | | </Box> |
| | | |
| | | ) |
| | | } |
| | | |
| | | const SecuritySettings = (props) => { |
| | | const { children, value, ...other } = props; |
| | | |
| | |
| | | ) |
| | | } |
| | | |
| | | export default Settings; |
| | | export default Index; |