Skip to content

Commit

Permalink
Corrected the type of Popover's onInteraction prop (#3348)
Browse files Browse the repository at this point in the history
  • Loading branch information
MGHawes authored and adidahiya committed Feb 12, 2019
1 parent 85792c0 commit 6013fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/popover/popoverSharedProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export interface IPopoverSharedProps extends IOverlayableProps, IProps {
* Callback invoked in controlled mode when the popover open state *would*
* change due to user interaction.
*/
onInteraction?: (nextOpenState: boolean) => void;
onInteraction?: (nextOpenState: boolean, e?: React.SyntheticEvent<HTMLElement>) => void;

/**
* Whether the popover should open when its target is focused. If `true`,
Expand Down

1 comment on commit 6013fc1

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected the type of Popover's onInteraction prop (#3348)

Previews: documentation | landing | table

Please sign in to comment.