adding more examples and updating the docs

This commit is contained in:
Jason Salzman
2016-10-06 16:12:34 -07:00
parent 91a74e96cc
commit 5d9a12f58f
20 changed files with 10286 additions and 2538 deletions
+32 -2
View File
@@ -1,11 +1,23 @@
`ReactAddToCalendar` (component)
================================
`0` (component)
===============
Props
-----
### `buttonClassClosed`
type: `string`
defaultValue: `'react-add-to-calendar__button'`
### `buttonClassOpen`
type: `string`
defaultValue: `'react-add-to-calendar__button--light'`
### `buttonLabel`
type: `string`
@@ -18,12 +30,24 @@ type: `object`
defaultValue: `{ caret: 'right' }`
### `buttonWrapperClass`
type: `string`
defaultValue: `'react-add-to-calendar__wrapper'`
### `displayItemIcons`
type: `bool`
defaultValue: `true`
### `dropdownClass`
type: `string`
defaultValue: `'react-add-to-calendar__dropdown'`
### `event` (required)
type: `object`
@@ -46,3 +70,9 @@ defaultValue: `[
{ yahoo: 'Yahoo' }
]`
### `rootClass`
type: `string`
defaultValue: `'react-add-to-calendar'`