import { Box, FormControlLabel } from "@mui/material"; import CustomizedSwitch from "@ui_kit/CustomSwitch"; import * as React from "react"; interface Props { text: string; icon: string; onClick?: (a:any) => void; value: boolean } export const SwitchSetting = ({ text, icon, onClick, value }: Props) => { return ( icon } label={text} labelPlacement="start" sx={{ display: "flex", justifyContent: "space-between", color: "#9A9AAF", width: "100%", paddingRight: "15px", }} onClick={onClick} /> ); };