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

ConferenceTimerDisplay.tsx 484B

123456789101112131415161718192021
  1. import React from 'react';
  2. import { Text } from 'react-native';
  3. import { IDisplayProps } from '../ConferenceTimer';
  4. /**
  5. * Returns native element to be rendered.
  6. *
  7. * @param {Object} props - Component props.
  8. *
  9. * @returns {ReactElement}
  10. */
  11. export default function ConferenceTimerDisplay({ timerValue, textStyle }: IDisplayProps) {
  12. return (
  13. <Text
  14. numberOfLines = { 1 }
  15. style = { textStyle }>
  16. { timerValue }
  17. </Text>
  18. );
  19. }