Skip to content

Types for EuiPanel onClick prevent any onClick handler from being used #2329

@wylieconlon

Description

@wylieconlon

The generated type from EUI 13.8.1 is (e: React.MouseEvent) => void | undefined which is not assignable. For example:

<EuiPanel onClick={() => { /* Do something */ }} />

does not validate

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