ant-design/components/slider/demo/basic.md

25 lines
312 B
Markdown
Raw Normal View History

2015-07-13 08:00:31 +08:00
# 基本
- order: 0
2015-07-20 14:58:06 +08:00
基本滑动条。
2015-07-13 08:00:31 +08:00
---
````jsx
var Slider = antd.Slider;
2015-07-16 16:48:06 +08:00
React.render(<div>
2015-07-13 08:00:31 +08:00
<Slider />
2015-07-14 12:06:44 +08:00
<Slider value={65} disabled />
</div>
2015-07-13 08:00:31 +08:00
, document.getElementById('components-slider-demo-basic'));
````
2015-07-14 12:06:44 +08:00
<style>
2015-07-16 16:48:06 +08:00
.code-box-demo .ant-slider {
margin-bottom: 50px;
margin-left: 15px;
}
</style>