Skip to content

Commit

Permalink
doc: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
im36-123 committed Nov 7, 2019
1 parent 932eb5c commit 3861673
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/AccordionPanel/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# AccordionPanel

```tsx
import { AccordionPanel, AccorionPanelItem, AccordionPanelTrigger, AccordionPanelContent } from 'smarthr-ui'
import {
AccordionPanel,
AccorionPanelItem,
AccordionPanelTrigger,
AccordionPanelContent,
} from 'smarthr-ui'

<AccordionPanel
icon="none"
Expand All @@ -27,7 +32,7 @@ import { AccordionPanel, AccorionPanelItem, AccordionPanelTrigger, AccordionPane
| icon | - | **string** <br> left &#124; right &#124; none | left | Position of icon. If sets 'none', icon is not display. |
| expandableMultiply | - | **boolean** | false | If true, allow to expand accordion panel multiply. |
| defaultExpanded | - | **string[]** | [] | Expands accordion with name matching value in array. |
| onClick | | **function** | - | Fires when the AccordionPanelTrigger clicked. <br><br>function: (expandedList: string[]) => void |
| onClick | - | **function** | - | Fires when the AccordionPanelTrigger clicked. <br><br>function: (expandedList: string[]) => void |

### AccorionPanelItem component

Expand Down

0 comments on commit 3861673

Please sign in to comment.