diff --git a/reactJS/app/components/EventPageComponent.js b/reactJS/app/components/EventPageComponent.js index 25091443..3518a220 100755 --- a/reactJS/app/components/EventPageComponent.js +++ b/reactJS/app/components/EventPageComponent.js @@ -13,6 +13,8 @@ import {Table, Column, Cell} from 'fixed-data-table-2'; import MediaQuery from 'react-responsive'; import {Card, CardActions, CardHeader, CardText} from 'material-ui/Card'; import Dialog from 'material-ui/Dialog'; +import CopyToClipboard from 'react-copy-to-clipboard'; +import IconButton from 'material-ui/IconButton'; import { fetchEvent, storePersonalizedDateSelection, storeAttendeeName, storeAttendeeNameErrorLabel, registerAttendee, updateNotificationFlag, emptyPersonalizedDateSelection, @@ -1116,6 +1118,43 @@ class EventPageComponent extends Component { } } + renderShareCard() { + let eventId = this.props.params.eventId; + let eventShareURL = window.location.origin + '/event/' + encodeURI(eventId); + return ( +