import React from 'react'; import { Slider } from 'antd'; import type { SliderSingleProps } from 'antd'; const marks: SliderSingleProps['marks'] = { 0: '0°C', 26: '26°C', 37: '37°C', 100: { style: { color: '#f50', }, label: 100°C, }, }; const App: React.FC = () => ( <>

included=true

included=false

marks & step

step=null

); export default App;