event-feedback-widget
v2.0.1
Published
Event Feedback Widget
Downloads
29
Readme
EVENT FEEDBACK WIDGET
Widget to display an event's feedback from users and allow user to leave a feedback
CONFIG
** eventId = id of the event we want to show feedback or set feedback on
** summitId = id of the summit
** userId = id of the user
** getAccessToken = method passed that will be called to request the access token
** apiBaseUrl = url for API
title = title to display
marketingData = object with the settings from the marketing API
SCOPES NEEDED
%s/me/summits/events/feedback/add %s/me/summits/events/feedback/delete
PUBLISH TO NPM:
1 - yarn build && yarn publish
2 - yarn publish-package
IMPORT:
import EventFeedbackWidget from 'event-feedback-widget';
import 'event-feedback-widget/index.css';