I'm using react typescript and after updating the library to version 5.0.0 a compilation problem arose with the Accordion component.
The error is the following:
TS2559: Type { children: Element; } has no properties in common with type IntrinsicAttributes & AccordionProps
and appear on <Accordion>, <AccordionItem>, <AccordionHeader>
I'm using react typescript and after updating the library to version 5.0.0 a compilation problem arose with the Accordion component.
The error is the following:
TS2559: Type { children: Element; } has no properties in common with type IntrinsicAttributes & AccordionProps
and appear on<Accordion>
,<AccordionItem>
,<AccordionHeader>
e.g.
compilerOptions