mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-29 20:08:37 +08:00
753c01ae18
fix antd.notification
25 lines
327 B
Markdown
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>
|