Skip to content

Commit

Permalink
Review feedback: Use MouseEventHandler<HTMLButtonElement>.
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Mar 20, 2019
1 parent 5ac2845 commit 3490cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/list_group/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ declare module '@elastic/eui' {
alwaysShow?: boolean;
}
>;
onClick?(): void;
onClick?: MouseEventHandler<HTMLButtonElement>;
wrapText?: boolean;
};

Expand Down

0 comments on commit 3490cee

Please sign in to comment.