Skip to content

Latest commit

 

History

History
82 lines (49 loc) · 1.3 KB

ReactAddToCalendar.md

File metadata and controls

82 lines (49 loc) · 1.3 KB

react-add-to-calendar-recurring (component)

Props

buttonClassClosed

type: string defaultValue: 'react-add-to-calendar-recurring__button'

buttonClassOpen

type: string defaultValue: 'react-add-to-calendar-recurring__button--light'

buttonLabel

type: string defaultValue: 'Add to My Calendar'

buttonTemplate

type: object defaultValue: { caret: 'right' }

buttonWrapperClass

type: string defaultValue: 'react-add-to-calendar-recurring__wrapper'

displayItemIcons

type: bool defaultValue: true

dropdownClass

type: string defaultValue: 'react-add-to-calendar-recurring__dropdown'

event (required)

type: shape[object 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: arrayOf[object Object] defaultValue: [ { apple: 'Apple Calendar' }, { google: 'Google' }, { outlook: 'Outlook' }, { outlookcom: 'Outlook.com' }, { yahoo: 'Yahoo' } ]

rootClass

type: string defaultValue: 'react-add-to-calendar-recurring'

optionsOpen

type: bool defaultValue: false