mirror of
https://github.com/encounter/react-add-to-calendar.git
synced 2026-07-10 21:18:44 -07:00
Publish new API docs (automated commit)
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
`0` (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' }
|
||||
]`
|
||||
|
||||
Reference in New Issue
Block a user