From 94ca94802ddf1ca26772815d3bfaf88c4f113fce Mon Sep 17 00:00:00 2001 From: Alec Winograd Date: Wed, 3 Jan 2018 11:33:58 +0100 Subject: [PATCH] [react-native] Add onDismiss prop to Modal --- types/react-native/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 95acbaef87..bd8de57f6a 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -4364,6 +4364,11 @@ export interface ModalProperties { * @platform ios */ onOrientationChange?: () => void; + /** + * The `onDismiss` prop allows passing a function that will be called once the modal has been dismissed. + * @platform ios + */ + onDismiss?: () => void; } export interface ModalStatic extends React.ComponentClass {}