mirror of
https://github.com/encounter/react-add-to-calendar.git
synced 2026-07-10 21:18:44 -07:00
727 B
727 B
ReactAddToCalendar (component)
Props
buttonLabel
type: string
defaultValue: 'Add to My Calendar'
buttonTemplate
type: object
defaultValue: { caret: 'right' }
displayItemIcons
type: bool
defaultValue: true
event (required)
type: object
defaultValue: { title: 'Sample Event', description: 'This is the sample event provided as an example only', location: 'Portland, OR', startTime: '2016-09-16T20:15:00-04:00', endTime: '2016-09-16T21:45:00-04:00' }
listItems
type: array
defaultValue: [ { apple: 'Apple Calendar' }, { google: 'Google' }, { outlook: 'Outlook' }, { yahoo: 'Yahoo' } ]