fix(tooltip): description prop deprecated, use content instead (#2806)
This commit is contained in:
parent
6586be9a8e
commit
41e1c3a2e2
|
@ -89,7 +89,7 @@ class BaseIndicator extends Component {
|
|||
return (
|
||||
<div className = 'indicator-container'>
|
||||
<Tooltip
|
||||
description = { t(tooltipKey) }
|
||||
content = { t(tooltipKey) }
|
||||
position = { tooltipPosition }>
|
||||
<span
|
||||
className = { iconContainerClassName }
|
||||
|
|
|
@ -55,7 +55,7 @@ class ToolbarButton extends AbstractToolbarButton {
|
|||
onClick = { this.props.onClick }>
|
||||
{ this.props.tooltip
|
||||
? <Tooltip
|
||||
description = { this.props.tooltip }
|
||||
content = { this.props.tooltip }
|
||||
position = { this.props.tooltipPosition }>
|
||||
{ children }
|
||||
</Tooltip>
|
||||
|
|
|
@ -166,7 +166,7 @@ export class VideoQualityLabel extends Component {
|
|||
className = { classNames }
|
||||
id = 'videoResolutionLabel'>
|
||||
<Tooltip
|
||||
description = { t(tooltipKey) }
|
||||
content = { t(tooltipKey) }
|
||||
position = { 'left' }>
|
||||
<div className = 'video-quality-label-status'>
|
||||
{ labelContent }
|
||||
|
|
Loading…
Reference in New Issue