2020-01-29 13:53:05 +01:00
|
|
|
// @flow
|
|
|
|
|
|
|
|
import * as React from 'react';
|
2020-01-30 17:42:11 +01:00
|
|
|
import WebViewScreen from "../../components/WebViewScreen";
|
2020-01-29 13:53:05 +01:00
|
|
|
|
|
|
|
type Props = {
|
|
|
|
navigation: Object,
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-02-23 17:21:34 +01:00
|
|
|
const URL = 'https://etud.insa-toulouse.fr/~eeinsat/';
|
2020-01-29 13:53:05 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Class defining the app's planex screen.
|
|
|
|
* This screen uses a webview to render the planex page
|
|
|
|
*/
|
|
|
|
export default class ElusEtudScreen extends React.Component<Props> {
|
|
|
|
|
|
|
|
render() {
|
|
|
|
const nav = this.props.navigation;
|
|
|
|
return (
|
|
|
|
<WebViewScreen
|
|
|
|
navigation={nav}
|
|
|
|
data={[
|
|
|
|
{
|
|
|
|
url: URL,
|
|
|
|
icon: '',
|
|
|
|
name: '',
|
|
|
|
customJS: ''
|
|
|
|
},
|
|
|
|
]}
|
|
|
|
headerTitle={'Élus Étudiants'}
|
|
|
|
hasHeaderBackButton={true}
|
|
|
|
hasSideMenu={false}/>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|