speakers-widget
v4.0.2
Published
Speakers Widget
Downloads
20
Keywords
Readme
Speakers Widget
Widget to display speakers ro featured speakers.
Speaker Widget config
** summitTZ = timezone of the summit, defaults to UTC
** viewAllClick() = method called upon view all click
** onSpeakerClick(speakerId) = method called upon speaker click
onAuthError(err, res) = method called upon api 401 or 403 error
title = widget title
speakerIds = array of speaker Ids (this overrides other filters)
date = when no Ids, shows speakers from a specific date in EPOCH
featured = when true, we show featured speakers (combined with date if present)
speakerCount = when no Ids, takes this number as limit
bigPics = bool to show big pictures, default is round small pics
sliderSettings = object with props for react-slick. Full doc here
speakersData = array with all the speakers for the summit
eventsData = array with all the events for the summit
PUBLISH TO NPM:
1 - npm version patch / npm version minor / npm version major 2 - npm run publish-package
IMPORT:
import SpeakersWidget from 'speakers-widget';
import 'speakers-widget/index.css';