| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 | 
							- import React, { Component } from 'react';
 - 
 - import { translate, translateToHTML } from '../../base/i18n';
 - 
 - import FilmStripOnlyOverlayFrame from './FilmStripOnlyOverlayFrame';
 - 
 - /**
 -  * Implements a React Component for overlay with guidance how to proceed with
 -  * gUM prompt. This component will be displayed only for filmstrip only mode.
 -  */
 - class UserMediaPermissionsFilmStripOnlyOverlay extends Component {
 -     /**
 -      * UserMediaPermissionsFilmStripOnlyOverlay component's property types.
 -      *
 -      * @static
 -      */
 -     static propTypes = {
 -         /**
 -          * The browser which is used currently. The text is different for every
 -          * browser.
 -          *
 -          * @public
 -          * @type {string}
 -          */
 -         browser: React.PropTypes.string,
 - 
 -         /**
 -          * The function to translate human-readable text.
 -          *
 -          * @public
 -          * @type {Function}
 -          */
 -         t: React.PropTypes.func
 -     }
 - 
 -     /**
 -      * Implements React's {@link Component#render()}.
 -      *
 -      * @inheritdoc
 -      * @returns {ReactElement|null}
 -      */
 -     render() {
 -         const { t } = this.props;
 -         const textKey = `userMedia.${this.props.browser}GrantPermissions`;
 - 
 -         return (
 -             <FilmStripOnlyOverlayFrame
 -                 icon = 'icon-mic-camera-combined'
 -                 isLightOverlay = { true }>
 -                 <div className = 'inlay-filmstrip-only__container'>
 -                     <div className = 'inlay-filmstrip-only__title'>
 -                         {
 -                             t('startupoverlay.title',
 -                                 { postProcess: 'resolveAppName' })
 -                         }
 -                     </div>
 -                     <div className = 'inlay-filmstrip-only__text'>
 -                         {
 -                             translateToHTML(t, textKey)
 -                         }
 -                     </div>
 -                 </div>
 -             </FilmStripOnlyOverlayFrame>
 -         );
 -     }
 - }
 - 
 - export default translate(UserMediaPermissionsFilmStripOnlyOverlay);
 
 
  |