import { Switch, Tooltip } from '@mui/material'; import { TextCell } from '../TextCell/TextCell'; interface IToggleCellProps { checked: boolean; setChecked: (value: boolean) => void; title?: string; } export const ToggleCell = ({ checked, setChecked, title, }: IToggleCellProps) => ( setChecked(e.target.checked)} /> );