Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chandlerprall committed Sep 30, 2020
1 parent 3a7be07 commit d0e2358
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/share/public/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export interface ShareContext {
* used to order the individual items in a flat list returned by all registered
* menu providers.
* */
export interface ShareContextMenuPanelItem extends Omit<EuiContextMenuPanelItemDescriptorEntry, 'name'> {
export interface ShareContextMenuPanelItem
extends Omit<EuiContextMenuPanelItemDescriptorEntry, 'name'> {
name: string; // EUI will accept a `ReactNode` for the `name` prop, but `ShareContentMenu` assumes a `string`.
sortOrder?: number;
}
Expand Down

0 comments on commit d0e2358

Please sign in to comment.