Skip to content

[EuiAccordion] Export underlying EuiAccordionClass? #5985

@thompsongl

Description

@thompsongl

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions