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 516B

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