mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 16:58:00 +08:00
25 lines
312 B
Markdown
25 lines
312 B
Markdown
# 基本
|
|
|
|
- order: 0
|
|
|
|
基本滑动条。
|
|
|
|
---
|
|
|
|
````jsx
|
|
var Slider = antd.Slider;
|
|
|
|
React.render(<div>
|
|
<Slider />
|
|
<Slider value={65} disabled />
|
|
</div>
|
|
, document.getElementById('components-slider-demo-basic'));
|
|
````
|
|
|
|
<style>
|
|
.code-box-demo .ant-slider {
|
|
margin-bottom: 50px;
|
|
margin-left: 15px;
|
|
}
|
|
</style>
|