Skip to content

Breaking change in MenuItemProps #25887

Description

@ling1726

Change was introduced in #24738, After that PR it's no longer possible to reuse the prop type using Partial<MenuItemProps> because of the typed event handler.

In the below repro, simply remove the onClick handler to remove the TS error

https://codesandbox.io/s/still-https-kjlbz5?file=/example.tsx

Metadata

Metadata

Assignees

Type

No type

Fields

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