@@ -8,19 +8,13 @@ import { cn } from "../../../lib/utils";
88
99const Accordion : React . FC < ComponentPropsWithoutRef < typeof AccordionPrimitive . Root > > = AccordionPrimitive . Root ;
1010
11- const AccordionItem : React . ForwardRefExoticComponent <
12- ComponentPropsWithoutRef < typeof AccordionPrimitive . Item > &
13- React . RefAttributes < ComponentRef < typeof AccordionPrimitive . Item > >
14- > = React . forwardRef <
11+ const AccordionItem = React . forwardRef <
1512 ComponentRef < typeof AccordionPrimitive . Item > ,
1613 ComponentPropsWithoutRef < typeof AccordionPrimitive . Item >
1714> ( ( { className, ...props } , ref ) => < AccordionPrimitive . Item className = { cn ( "" , className ) } ref = { ref } { ...props } /> ) ;
1815AccordionItem . displayName = "AccordionItem" ;
1916
20- const AccordionTrigger : React . ForwardRefExoticComponent <
21- ComponentPropsWithoutRef < typeof AccordionPrimitive . Trigger > &
22- React . RefAttributes < ComponentRef < typeof AccordionPrimitive . Trigger > >
23- > = React . forwardRef <
17+ const AccordionTrigger = React . forwardRef <
2418 ComponentRef < typeof AccordionPrimitive . Trigger > ,
2519 ComponentPropsWithoutRef < typeof AccordionPrimitive . Trigger > & { showChevron ?: boolean }
2620> ( ( { className, children, showChevron = true , ...props } , ref ) => (
@@ -39,10 +33,7 @@ const AccordionTrigger: React.ForwardRefExoticComponent<
3933) ) ;
4034AccordionTrigger . displayName = AccordionPrimitive . Trigger . displayName ;
4135
42- const AccordionContent : React . ForwardRefExoticComponent <
43- ComponentPropsWithoutRef < typeof AccordionPrimitive . Content > &
44- React . RefAttributes < ComponentRef < typeof AccordionPrimitive . Content > >
45- > = React . forwardRef <
36+ const AccordionContent = React . forwardRef <
4637 ComponentRef < typeof AccordionPrimitive . Content > ,
4738 ComponentPropsWithoutRef < typeof AccordionPrimitive . Content >
4839> ( ( { className, children, ...props } , ref ) => (
0 commit comments