您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }