mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
💄 update slider demo
This commit is contained in:
parent
97ee28ee7a
commit
69d2656ab2
@ -5,19 +5,16 @@ title:
|
|||||||
en-US: Control visible of ToolTip
|
en-US: Control visible of ToolTip
|
||||||
---
|
---
|
||||||
|
|
||||||
## zh-CN
|
## zh-CN
|
||||||
|
|
||||||
当 `tooltipVisible` 为 `true` 时,将始终显示ToolTip;反之则始终不显示,即使在拖动、移入时也是如此。
|
当 `tooltipVisible` 为 `true` 时,将始终显示ToolTip;反之则始终不显示,即使在拖动、移入时也是如此。
|
||||||
|
|
||||||
## en-US
|
## en-US
|
||||||
|
|
||||||
When `tooltipVisible` is `true`, ToolTip will show always, or ToolTip will not show anyway, even if dragging or hovering.
|
|
||||||
|
|
||||||
|
When `tooltipVisible` is `true`, ToolTip will show always, or ToolTip will not show anyway, even if dragging or hovering.
|
||||||
|
|
||||||
````jsx
|
````jsx
|
||||||
|
|
||||||
import { Slider } from 'antd';
|
import { Slider } from 'antd';
|
||||||
|
|
||||||
ReactDOM.render(<Slider defaultValue={30} tooltipVisible />, mountNode);
|
ReactDOM.render(<Slider defaultValue={30} tooltipVisible />, mountNode);
|
||||||
|
|
||||||
````
|
````
|
||||||
|
Loading…
Reference in New Issue
Block a user