From 4f357b5c6d6ed9ae9a62b4a26888229493cc28ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=AF=BC=EC=88=98=20MINSOO=20KIM?= Date: Thu, 1 Dec 2022 16:03:12 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20accordion=20docs=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/components/Accordion.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/components/Accordion.md b/docs/components/Accordion.md index 34f4fa4..38c24c6 100644 --- a/docs/components/Accordion.md +++ b/docs/components/Accordion.md @@ -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`