From 7111370dd787fdec78a1e3368679bc4c73570b98 Mon Sep 17 00:00:00 2001 From: Amanda Johnston <90629384+amandaejohnston@users.noreply.github.com> Date: Wed, 18 May 2022 13:15:35 -0500 Subject: [PATCH] fix(react): add param types to useIonPopover dismiss function (#25311) --- packages/react/src/hooks/useIonPopover.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/hooks/useIonPopover.ts b/packages/react/src/hooks/useIonPopover.ts index e5800f5472..cd4e9d37c5 100644 --- a/packages/react/src/hooks/useIonPopover.ts +++ b/packages/react/src/hooks/useIonPopover.ts @@ -37,5 +37,5 @@ export type UseIonPopoverResult = [ /** * Dismisses the popover */ - () => void + (data?: any, role?: string) => void ];