first commit
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
import React from "react";
|
||||
import Card from "@mui/material/Card";
|
||||
import { Typography } from "@mui/material";
|
||||
import Box from '@mui/material/Box';
|
||||
import Stack from '@mui/material/Stack';
|
||||
import Slider from '@mui/material/Slider';
|
||||
import VolumeDown from '@mui/icons-material/VolumeDown';
|
||||
import VolumeUp from '@mui/icons-material/VolumeUp';
|
||||
|
||||
export default function Continuous() {
|
||||
|
||||
const [value, setValue] = React.useState(30);
|
||||
|
||||
const handleChange = (event, newValue) => {
|
||||
setValue(newValue);
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<Card
|
||||
sx={{
|
||||
boxShadow: "none",
|
||||
borderRadius: "10px",
|
||||
p: "25px",
|
||||
mb: "15px",
|
||||
}}
|
||||
>
|
||||
<Typography
|
||||
as="h3"
|
||||
sx={{
|
||||
fontSize: 18,
|
||||
fontWeight: 500,
|
||||
mb: '15px'
|
||||
}}
|
||||
>
|
||||
Continuous
|
||||
</Typography>
|
||||
|
||||
<Box sx={{ width: 200 }}>
|
||||
<Stack spacing={2} direction="row" sx={{ mb: 1 }} alignItems="center">
|
||||
<VolumeDown />
|
||||
<Slider aria-label="Volume" value={value} onChange={handleChange} />
|
||||
<VolumeUp />
|
||||
</Stack>
|
||||
<Slider disabled defaultValue={30} aria-label="Disabled slider" />
|
||||
</Box>
|
||||
</Card>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user