mirror of
https://github.com/wassname/slider.git
synced 2026-09-09 11:35:22 +08:00
Add example for hiding the tooltip
This commit is contained in:
@@ -86,6 +86,10 @@ ReactDOM.render(
|
||||
<p>Basic Slider with `tipFormatter`</p>
|
||||
<Slider tipFormatter={percentFormatter} tipTransitionName="rc-slider-tooltip-zoom-down" onChange={log} />
|
||||
</div>
|
||||
<div style={style}>
|
||||
<p>Basic Slider without tooltip</p>
|
||||
<Slider tipFormatter={null} onChange={log} />
|
||||
</div>
|
||||
<div style={style}>
|
||||
<p>Controlled Slider</p>
|
||||
<Slider value={50} />
|
||||
|
||||
Reference in New Issue
Block a user