Files
react-add-to-calendar/docs/ReactAddToCalendar.md
T
2016-10-06 11:48:09 -07:00

49 lines
727 B
Markdown

`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' }
]`