Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

ConferenceID.web.js 921B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* @flow */
  2. import React, { Component } from 'react';
  3. import { translate } from '../../../base/i18n';
  4. /**
  5. * The type of the React {@code Component} props of {@link ConferenceID}.
  6. */
  7. type Props = {
  8. /**
  9. * The conference ID for dialing in.
  10. */
  11. conferenceID: number,
  12. /**
  13. * Invoked to obtain translated strings.
  14. */
  15. t: Function
  16. };
  17. /**
  18. * Displays a conference ID used as a pin for dialing into a conference.
  19. *
  20. * @extends Component
  21. */
  22. class ConferenceID extends Component<Props> {
  23. /**
  24. * Implements React's {@link Component#render()}.
  25. *
  26. * @inheritdoc
  27. * @returns {ReactElement}
  28. */
  29. render() {
  30. const { conferenceID, t } = this.props;
  31. return (
  32. <div className = 'dial-in-conference-id'>
  33. { t('info.dialANumber', { conferenceID }) }
  34. </div>
  35. );
  36. }
  37. }
  38. export default translate(ConferenceID);