The EuiAccordion export was changed from a class component to a function component during the move to Emotion styling. Functionally everything remains intact because of forwardRef, but the types no longer align: elastic/kibana#133927 (comment)
We need to investigate a workaround or an additional top-level export that can be used instances where TypeScript needs access to the underlying class component.
Potentially as simple as exporting EuiAccordionClass.
The
EuiAccordionexport was changed from a class component to a function component during the move to Emotion styling. Functionally everything remains intact because offorwardRef, but the types no longer align: elastic/kibana#133927 (comment)We need to investigate a workaround or an additional top-level export that can be used instances where TypeScript needs access to the underlying class component.
Potentially as simple as exporting
EuiAccordionClass.