diff --git a/src/components/Accordion/Accordion.tsx b/src/components/Accordion/Accordion.tsx index 607ef349..04b3560a 100644 --- a/src/components/Accordion/Accordion.tsx +++ b/src/components/Accordion/Accordion.tsx @@ -10,7 +10,7 @@ interface AccordionProps extends ComponentPropsWithoutRef<'div'> { state?: boolean; } -interface AccordionCategory extends ComponentPropsWithoutRef<'div'> { +interface AccordionCategoryProps extends ComponentPropsWithoutRef<'div'> { categoryTitle: string | React.ReactNode; state?: boolean; isChild?: boolean; @@ -19,7 +19,7 @@ interface AccordionCategory extends ComponentPropsWithoutRef<'div'> { customClass?: string; } -interface AccordionContent extends ComponentPropsWithoutRef<'div'> { +interface AccordionContentProps extends ComponentPropsWithoutRef<'div'> { customClass?: string; } @@ -46,7 +46,7 @@ export function Accordion(props: AccordionProps) { ); } -export function AccordionCategory(props: AccordionCategory) { +export function AccordionCategory(props: AccordionCategoryProps) { const { categoryTitle, children, @@ -86,7 +86,7 @@ export function AccordionCategory(props: AccordionCategory) { ); } -export function AccordionContent(props: AccordionContent) { +export function AccordionContent(props: AccordionContentProps) { const { children, customClass } = props; return (