mirror of
https://github.com/encounter/react-add-to-calendar.git
synced 2026-07-10 21:18:44 -07:00
adding more examples and updating the docs
This commit is contained in:
@@ -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'`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user