ant-design/components/slider/demo/basic.md
afc163 753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00

25 lines
327 B
Markdown

# 基本
- order: 0
基本滑动条。
---
````jsx
import { Slider } from 'antd';
ReactDOM.render(<div>
<Slider />
<Slider defaultValue={65} disabled />
</div>
, document.getElementById('components-slider-demo-basic'));
````
<style>
.code-box-demo .ant-slider {
margin-bottom: 50px;
margin-left: 15px;
}
</style>