diff --git a/app/Calendar.js b/app/Calendar.js index a07348e..f2ba83a 100644 --- a/app/Calendar.js +++ b/app/Calendar.js @@ -38,16 +38,20 @@ const Event = ({item}) => { <> {item.item.text} Location: {item.item.location} - Date: {`${date[1]}/${date[2]}/${date[0]}`} ) if (itemDate >= today) { return ( setVisible(!visible)} activeOpacity={0.8}> - + + {item.item.title} + + {`${date[1]}/${date[2]}/${date[0]}`} + + {visible?extra:<>} ) @@ -55,9 +59,14 @@ const Event = ({item}) => { else { return ( setVisible(!visible)} activeOpacity={0.8}> - - - {item.item.title} + + + + {item.item.title} + + + {`${date[1]}/${date[2]}/${date[0]}`} + {visible?extra:<>} @@ -109,7 +118,7 @@ class Calendar extends React.Component { colors={['#f99', 'white']} style = {{height: '100%', borderBottomColor:'black', borderBottomWidth:0.5, display: 'flex', justifyContent: 'flex-end', paddingBottom: '2.5%'}} > - Calendar + Calendar Events