import FormControlLabel from '@mui/material/FormControlLabel'; import Switch from '@mui/material/Switch'; import { FC } from 'react'; import { useTranslation } from 'react-i18next'; import { makeStyles } from '@mui/styles'; import type { Theme } from '@mui/material/styles'; import type { CustomSwitchProps } from './Types'; const getStyles = makeStyles((theme: Theme) => ({ label: { color: '#757575', }, placement: { marginLeft: 0, }, })); const CustomSwitch: FC = ({ onChange }) => { const classes = getStyles(); const { t: commonTrans } = useTranslation(); return ( } /> ); }; export default CustomSwitch;