fix(tooltip): description prop deprecated, use content instead (#2806)

This commit is contained in:
virtuacoplenny 2018-04-16 10:21:01 -07:00 committed by bbaldino
parent 6586be9a8e
commit 41e1c3a2e2
3 changed files with 3 additions and 3 deletions

View File

@ -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 }

View File

@ -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>

View File

@ -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 }