Files
jitsi-meet/react/features/conference/components/native/InsecureRoomNameLabel.js
luz paz d3680bbebd fix(misc) follow-up typos
Found via `codespell -q 3 -S ./lang`
2021-03-22 10:41:41 +01:00

31 lines
806 B
JavaScript

// @flow
import React from 'react';
import { IconWarning } from '../../../base/icons';
import { CircularLabel } from '../../../base/label';
import { connect } from '../../../base/redux';
import AbstractInsecureRoomNameLabel, { _mapStateToProps } from '../AbstractInsecureRoomNameLabel';
import styles from './styles';
/**
* Renders a label indicating that we are in a room with an insecure name.
*/
class InsecureRoomNameLabel extends AbstractInsecureRoomNameLabel {
/**
* Renders the platform dependent content.
*
* @inheritdoc
*/
_render() {
return (
<CircularLabel
icon = { IconWarning }
style = { styles.insecureRoomNameLabel } />
);
}
}
export default connect(_mapStateToProps)(InsecureRoomNameLabel);