diff --git a/app/component/SwitchTable.js b/app/component/SwitchTable.js
index ba93e99..c922b9d 100644
--- a/app/component/SwitchTable.js
+++ b/app/component/SwitchTable.js
@@ -1,26 +1,70 @@
-import { Switch } from "@mui/material";
+import { FormControlLabel, FormGroup, Switch } from "@mui/material";
+import { styled } from "@mui/material/styles";
+
+const MaterialUISwitch = styled(Switch)(({ theme }) => ({
+ width: 63,
+ height: 34,
+ padding: 7,
+ "& .MuiSwitch-switchBase": {
+ margin: 1,
+ padding: 0,
+ transform: "translateX(6px)",
+ "&.Mui-checked": {
+ color: "#fff",
+ transform: "translateX(22px)",
+ "& .MuiSwitch-thumb:before": {
+ backgroundImage: `url('data:image/svg+xml;utf8,')`,
+ },
+ "& + .MuiSwitch-track": {
+ opacity: 1,
+ backgroundColor: "#aab4be",
+ ...theme.applyStyles("dark", {
+ backgroundColor: "#8796A5",
+ }),
+ },
+ },
+ },
+ "& .MuiSwitch-thumb": {
+ backgroundColor: "#001e3c",
+ width: 32,
+ height: 32,
+ "&::before": {
+ content: "''",
+ position: "absolute",
+ width: "100%",
+ height: "100%",
+ left: 0,
+ top: 0,
+ backgroundRepeat: "no-repeat",
+ backgroundPosition: "center",
+ backgroundImage: `url('data:image/svg+xml;utf8,')`,
+ },
+ ...theme.applyStyles("dark", {
+ backgroundColor: "#003892",
+ }),
+ },
+ "& .MuiSwitch-track": {
+ opacity: 1,
+ backgroundColor: "#aab4be",
+ borderRadius: 20 / 2,
+ ...theme.applyStyles("dark", {
+ backgroundColor: "#8796A5",
+ }),
+ },
+}));
function SwitchTable({ value }) {
return (
-
+
+ }
+ label="MUI switch"
+ />
+
);
}