chore(lint) tame the linter
This commit is contained in:
parent
ba7b5fc996
commit
e77216f18e
|
@ -313,41 +313,41 @@ class ConnectionIndicator extends AbstractConnectionIndicator<Props, State> {
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
_onShowPopover: () => void;
|
_onShowPopover: () => void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shows popover.
|
* Shows popover.
|
||||||
*
|
*
|
||||||
* @private
|
* @private
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
_onShowPopover() {
|
_onShowPopover() {
|
||||||
this.setState({ popoverVisible: true });
|
this.setState({ popoverVisible: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a ReactElement for displaying the indicator (GSM bar).
|
* Creates a ReactElement for displaying the indicator (GSM bar).
|
||||||
*
|
*
|
||||||
* @returns {ReactElement}
|
* @returns {ReactElement}
|
||||||
*/
|
*/
|
||||||
_renderIndicator() {
|
_renderIndicator() {
|
||||||
const colorClass = this._getConnectionColorClass();
|
const colorClass = this._getConnectionColorClass();
|
||||||
const indicatorContainerClassNames
|
const indicatorContainerClassNames
|
||||||
= `connection-indicator indicator ${colorClass}`;
|
= `connection-indicator indicator ${colorClass}`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className = 'popover-trigger'>
|
<div className = 'popover-trigger'>
|
||||||
<div
|
<div
|
||||||
className = { indicatorContainerClassNames }
|
className = { indicatorContainerClassNames }
|
||||||
style = {{ fontSize: this.props.iconSize }}>
|
style = {{ fontSize: this.props.iconSize }}>
|
||||||
<div className = 'connection indicatoricon'>
|
<div className = 'connection indicatoricon'>
|
||||||
{ this._renderIcon() }
|
{ this._renderIcon() }
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue