// material-ui import { Button, CardContent, Divider, Grid, InputAdornment, TextField } from '@mui/material'; import MainCard from "../../components/MainCard"; import {useForm} from "react-hook-form"; import Radio from '@mui/material/Radio'; import RadioGroup from '@mui/material/RadioGroup'; import FormControlLabel from '@mui/material/FormControlLabel'; import FormControl from '@mui/material/FormControl'; import {useState} from "react"; // ==============================|| DASHBOARD - DEFAULT ||============================== // const SettingPage = () => { const [notificationType, setNotificationType] = useState(null); const { reset, register, handleSubmit } = useForm() const onSubmit = (data) => { console.log(data); console.log(notificationType); }; function resetForm(){ setNotificationType(null); reset(); } return (
{/*Title*/} System Configuration {/*row 1*/} Notification Frequency { setNotificationType(newValue); }} name="radio-buttons-group" > } label="Weekly" /> } label="Monthly" /> } label="Bi-Monthly" /> } label="None" /> {/*row 2*/} Number of days to keep the Government Directory Sync Indicator days, }} /> {/*row 3*/} Idle Logout Time minutes, }} /> {/*row 4*/}
); }; export default SettingPage;