Merge Complete
This commit is contained in:
1 parent
482ef7a81a
commit
dabe23d505
6483 files changed
No files matched your search
@@ -0,0 +1,34 @@
|
||||
import React from 'react';
|
||||
import { Typography } from '@material-ui/core';
|
||||
|
||||
import { withStyles } from '@material-ui/core/styles';
|
||||
import styles from '../styles';
|
||||
|
||||
import Event from '../Event';
|
||||
|
||||
class Future extends React.Component {
|
||||
render() {
|
||||
const { classes } = this.props;
|
||||
const { Events, AKey } = this.props;
|
||||
|
||||
const events = Events.map((event, index) => (
|
||||
<Event key={index} event={event} availableKey={AKey} enrollable={true} />
|
||||
));
|
||||
return (
|
||||
<div className='container'>
|
||||
<Typography
|
||||
className={classes.title}
|
||||
variant='h4'
|
||||
align='center'
|
||||
color='textPrimary'
|
||||
gutterBottom
|
||||
>
|
||||
Future events
|
||||
</Typography>
|
||||
{events}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default withStyles(styles)(Future);
|
||||
Reference in new issue
Block a user