add restentpoint for login/logout, restructuring of modules and components, add flow usage

This commit is contained in:
Maren Süwer
2018-07-04 16:43:46 +02:00
parent 85902010ce
commit 3cc87ede73
22 changed files with 646 additions and 99 deletions

View File

@@ -0,0 +1,36 @@
//@flow
import React from 'react';
import injectSheet from 'react-jss';
const styles = {
wrapper: {
width: '100%',
display: 'flex',
height: '10em'
},
login: {
margin: 'auto',
textAlign: 'center'
}
};
type Props = {
classes: any;
}
class Login extends React.Component<Props> {
render() {
const { classes } = this.props;
return (
<div className={classes.wrapper}>
<div className={classes.login}>
You need to log in! ...
</div>
</div>
);
}
}
export default injectSheet(styles)(Login);