You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ConferenceTimerDisplay.js 472B

1234567891011121314151617181920212223
  1. // @flow
  2. import React from 'react';
  3. import { Text } from 'react-native';
  4. import styles from './styles';
  5. /**
  6. * Returns native element to be rendered.
  7. *
  8. * @param {string} timerValue - String to display as time.
  9. *
  10. * @returns {ReactElement}
  11. */
  12. export default function renderConferenceTimer(timerValue: string) {
  13. return (
  14. <Text
  15. numberOfLines = { 4 }
  16. style = { styles.roomTimer }>
  17. { timerValue }
  18. </Text>
  19. );
  20. }