Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
24 lines
483 B
TypeScript
24 lines
483 B
TypeScript
import Box from '@mui/joy/Box';
|
|
import Slider from '@mui/joy/Slider';
|
|
|
|
function valueText(value: number) {
|
|
return `${value}°C`;
|
|
}
|
|
|
|
export default function StepsSlider() {
|
|
return (
|
|
<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>
|
|
);
|
|
}
|