first commit
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
import React from "react";
|
||||
import Card from "@mui/material/Card";
|
||||
import { Typography } from "@mui/material";
|
||||
import Box from '@mui/material/Box';
|
||||
import Slider from '@mui/material/Slider';
|
||||
|
||||
function valuetext(value) {
|
||||
return `${value}°C`;
|
||||
}
|
||||
|
||||
export default function SmallSteps() {
|
||||
return (
|
||||
<>
|
||||
<Card
|
||||
sx={{
|
||||
boxShadow: "none",
|
||||
borderRadius: "10px",
|
||||
p: "25px",
|
||||
mb: "15px",
|
||||
}}
|
||||
>
|
||||
<Typography
|
||||
as="h3"
|
||||
sx={{
|
||||
fontSize: 18,
|
||||
fontWeight: 500,
|
||||
mb: '10px'
|
||||
}}
|
||||
>
|
||||
Small Steps
|
||||
</Typography>
|
||||
|
||||
<Box sx={{ width: 300 }}>
|
||||
<Slider
|
||||
aria-label="Small steps"
|
||||
defaultValue={0.00000005}
|
||||
getAriaValueText={valuetext}
|
||||
step={0.00000001}
|
||||
marks
|
||||
min={-0.00000005}
|
||||
max={0.0000001}
|
||||
valueLabelDisplay="auto"
|
||||
/>
|
||||
</Box>
|
||||
</Card>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user