jitsi-meet-electron/app/features/app/components/App.js

35 lines
629 B
JavaScript
Raw Normal View History

2018-05-24 16:35:26 +02:00
// @flow
2018-05-21 22:06:55 +02:00
import React, { Component } from 'react';
import { Conference } from '../../conference';
import config from '../../config';
/**
* Main component encapsulating the entire application.
*/
2018-05-24 16:35:26 +02:00
export default class App extends Component<{}> {
2018-05-21 22:06:55 +02:00
/**
* Initializes a new {@code App} instance.
*
* @inheritdoc
*/
constructor() {
super();
document.title = config.appName;
}
/**
* Implements React's {@link Component#render()}.
*
* @inheritdoc
* @returns {ReactElement}
*/
render() {
return (
<Conference />
);
}
}