32 lines
776 B
JavaScript
32 lines
776 B
JavaScript
import React, { Component } from 'react';
|
|
|
|
import { Dialog } from '../../base/dialog';
|
|
|
|
import VideoQualitySlider from './VideoQualitySlider';
|
|
|
|
/**
|
|
* Implements a React {@link Component} which displays the component
|
|
* {@code VideoQualitySlider} in a dialog.
|
|
*
|
|
* @extends Component
|
|
*/
|
|
export default class VideoQualityDialog extends Component {
|
|
/**
|
|
* Implements React's {@link Component#render()}.
|
|
*
|
|
* @inheritdoc
|
|
* @returns {ReactElement}
|
|
*/
|
|
render() {
|
|
return (
|
|
<Dialog
|
|
hideCancelButton = { true }
|
|
okKey = 'dialog.done'
|
|
titleKey = 'videoStatus.callQuality'
|
|
width = 'small'>
|
|
<VideoQualitySlider />
|
|
</Dialog>
|
|
);
|
|
}
|
|
}
|