Browse Source

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

master
virtuacoplenny 7 years ago
parent
commit
41e1c3a2e2

+ 1
- 1
react/features/filmstrip/components/web/BaseIndicator.js View File

@@ -89,7 +89,7 @@ class BaseIndicator extends Component {
89 89
         return (
90 90
             <div className = 'indicator-container'>
91 91
                 <Tooltip
92
-                    description = { t(tooltipKey) }
92
+                    content = { t(tooltipKey) }
93 93
                     position = { tooltipPosition }>
94 94
                     <span
95 95
                         className = { iconContainerClassName }

+ 1
- 1
react/features/toolbox/components/ToolbarButton.web.js View File

@@ -55,7 +55,7 @@ class ToolbarButton extends AbstractToolbarButton {
55 55
                 onClick = { this.props.onClick }>
56 56
                 { this.props.tooltip
57 57
                     ? <Tooltip
58
-                        description = { this.props.tooltip }
58
+                        content = { this.props.tooltip }
59 59
                         position = { this.props.tooltipPosition }>
60 60
                         { children }
61 61
                     </Tooltip>

+ 1
- 1
react/features/video-quality/components/VideoQualityLabel.web.js View File

@@ -166,7 +166,7 @@ export class VideoQualityLabel extends Component {
166 166
                 className = { classNames }
167 167
                 id = 'videoResolutionLabel'>
168 168
                 <Tooltip
169
-                    description = { t(tooltipKey) }
169
+                    content = { t(tooltipKey) }
170 170
                     position = { 'left' }>
171 171
                     <div className = 'video-quality-label-status'>
172 172
                         { labelContent }

Loading…
Cancel
Save