mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-16 08:17:48 +00:00
feat(rn,conference) new UI for conference name duration
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
33fc3833f9
commit
78d4af6bf2
@@ -3,20 +3,19 @@
|
||||
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.
|
||||
* @param {Object} textStyle - Style to be applied to the text.
|
||||
*
|
||||
* @returns {ReactElement}
|
||||
*/
|
||||
export default function renderConferenceTimer(timerValue: string) {
|
||||
export default function renderConferenceTimer(timerValue: string, textStyle: Object) {
|
||||
return (
|
||||
<Text
|
||||
numberOfLines = { 4 }
|
||||
style = { styles.roomTimer }>
|
||||
numberOfLines = { 1 }
|
||||
style = { textStyle }>
|
||||
{ timerValue }
|
||||
</Text>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user