Skip to content

Commit

Permalink
Add types for back button disabled and NoAnimation transition config
Browse files Browse the repository at this point in the history
  • Loading branch information
brentvatne committed Mar 31, 2019
1 parent 8788dd7 commit 2c875e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions typescript/react-navigation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,7 @@ declare module 'react-navigation' {
ModalSlideFromBottomIOS: TransitionConfig;
FadeInFromBottomAndroid: TransitionConfig;
FadeOutToBottomAndroid: TransitionConfig;
NoAnimation: TransitionConfig;
}

export const StackViewTransitionConfigs: StackViewTransitionConfigsType;
Expand Down Expand Up @@ -1356,6 +1357,7 @@ declare module 'react-navigation' {
tintColor?: string;
truncatedTitle?: string;
width?: number;
disabled?: boolean;
}

export const HeaderBackButton: React.ComponentClass<HeaderBackButtonProps>;
Expand Down

0 comments on commit 2c875e3

Please sign in to comment.