mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-01 04:10:16 +00:00
24 lines
472 B
JavaScript
24 lines
472 B
JavaScript
|
|
// @flow
|
||
|
|
|
||
|
|
import React from 'react';
|
||
|
|
import { Text } from 'react-native';
|
||
|
|
|
||
|
|
import styles from './styles';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Returns native element to be rendered.
|
||
|
|
*
|
||
|
|
* @param {string} timerValue - String to display as time.
|
||
|
|
*
|
||
|
|
* @returns {ReactElement}
|
||
|
|
*/
|
||
|
|
export default function renderConferenceTimer(timerValue: string) {
|
||
|
|
return (
|
||
|
|
<Text
|
||
|
|
numberOfLines = { 4 }
|
||
|
|
style = { styles.roomTimer }>
|
||
|
|
{ timerValue }
|
||
|
|
</Text>
|
||
|
|
);
|
||
|
|
}
|