12345678910111213141516171819202122232425262728293031323334353637383940 |
- // @flow
-
- import * as React from 'react';
- import ThemeManager from "../utils/ThemeManager";
- import WebViewScreen from "../components/WebViewScreen";
-
- type Props = {
- navigation: Object,
- }
-
-
- const URL = 'http://planex.insa-toulouse.fr/salles.php';
-
- /**
- * Class defining the app's planex screen.
- * This screen uses a webview to render the planex page
- */
- export default class AvailableRoomScreen extends React.Component<Props> {
-
- customInjectedJS: string;
-
- constructor() {
- super();
- this.customInjectedJS = '';
- }
-
- render() {
- const nav = this.props.navigation;
- return (
- <WebViewScreen
- navigation={nav}
- url={URL}
- customInjectedJS={this.customInjectedJS}
- headerTitle={'SAlles dispo'}
- hasHeaderBackButton={true}
- hasSideMenu={false}/>
- );
- }
- }
|