mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-17 22:57:48 +00:00
feat(stats) add stats for mobile
This commit is contained in:
@@ -7,6 +7,7 @@ import { Icon } from '../../../icons';
|
||||
import { type StyleType } from '../../../styles';
|
||||
|
||||
import styles from './indicatorstyles';
|
||||
import { BASE_INDICATOR } from './styles';
|
||||
|
||||
type Props = {
|
||||
|
||||
@@ -40,7 +41,9 @@ export default class BaseIndicator extends Component<Props> {
|
||||
const { highlight, icon, iconStyle } = this.props;
|
||||
|
||||
return (
|
||||
<View style = { highlight ? styles.highlightedIndicator : null }>
|
||||
<View
|
||||
style = { [ BASE_INDICATOR,
|
||||
highlight ? styles.highlightedIndicator : null ] }>
|
||||
<Icon
|
||||
src = { icon }
|
||||
style = { [
|
||||
|
||||
@@ -208,6 +208,11 @@ export const TINTED_VIEW_DEFAULT = {
|
||||
opacity: 0.8
|
||||
};
|
||||
|
||||
export const BASE_INDICATOR = {
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center'
|
||||
};
|
||||
|
||||
/**
|
||||
* The styles of the generic React {@code Component}s implemented by the feature
|
||||
* base/react.
|
||||
|
||||
Reference in New Issue
Block a user