Files
nobat724_front/app/component/SwitchTable.js
T
2024-10-11 01:44:07 +03:30

28 lines
541 B
JavaScript

import { Switch } from "@mui/material";
function SwitchTable({ value }) {
return (
<Switch
dir="ltr"
defaultChecked={value}
sx={
{
// "& .MuiSwitch-thumb": {
// width: "32px",
// height: "32px",
// },
// "& .MuiSwitch-track": {
// height: "24px",
// borderRadius: "28px",
// },
// "&.MuiSwitch-root": {
// width: "86px",
// },
}
}
/>
);
}
export default SwitchTable;