mirror of
https://github.com/wassname/slider.git
synced 2026-09-11 12:42:49 +08:00
chore: update tooltip className
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ export default class Handle extends React.Component {
|
||||
|
||||
const isTooltipVisible = dragging || this.state.isTooltipVisible;
|
||||
return (<Tooltip
|
||||
prefixCls={className.replace('handle', 'tooltip')}
|
||||
prefixCls={className.replace('slider-handle', 'tooltip')}
|
||||
placement="top"
|
||||
visible={isTooltipVisible}
|
||||
overlay={<span>{tipFormatter ? tipFormatter(value) : value}</span>}
|
||||
|
||||
Reference in New Issue
Block a user