Skip to content

Commit

Permalink
docs: accordion docs 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
alstn113 committed Dec 1, 2022
1 parent b09fcc2 commit 4f357b5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/components/Accordion.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,24 @@ interface AccordionProps extends AccordionProviderProps {
*/
allowMultiple?: boolean;
}

interface AccorDionItemProps {
children: React.ReactNode;
/**
* AccordionItem의 닫혔을 경우에도 보여지는 부분입니다.
*/
label: React.ReactNode;

/**
* AccordionItem의 닫혔을 경우에도 보여지는 label 밑에 위치하는 부연설명입니다.
*/
description?: React.ReactNode;

/**
* Accordion에 의해 자동으로 부여되는 index
*/
index?: number;
}
```

## `example`
Expand Down

0 comments on commit 4f357b5

Please sign in to comment.