feat: add on transition end callback (#153)

This commit is contained in:
Michał Osadnik
2019-07-07 13:02:48 +01:00
committed by satyajit.happy
parent fb9dbf9820
commit 51b1069d51
4 changed files with 61 additions and 24 deletions

View File

@@ -19,8 +19,8 @@ type Props = {
descriptors: Descriptors;
navigationConfig: NavigationConfig;
onTransitionStart?: (
curr: { index: number },
prev: { index: number }
current: { index: number },
previous: { index: number }
) => void;
onGestureBegin?: () => void;
onGestureCanceled?: () => void;