import Slider from '../index' import '../assets/index.less' export default { render () { const style = { width: '400px', margin: '50px' } const pStyle = { margin: '20px 0' } const marks = { '-10': '-10°C', 0: 0°C, 26: '26°C', 37: '37°C', 50: '50°C', 100: { style: { color: 'red', }, label: 100°C, }, } function log (value) { console.log(value); //eslint-disable-line } return (

Slider with marks, `step=null`

Slider with marks and steps

Slider with marks, `included=false`

Slider with marks and steps, `included=false`

Range with marks

Range with marks and steps

) }, }