mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 09:08:15 +00:00
Export StackViewTransitionConfigs (#4761)
* export StackViewTransitionConfigs * Add changelogs
This commit is contained in:
parent
6fc21250ec
commit
9175118383
@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
### Fixed
|
||||
- Error when building with haul: ref to pathToRegexp.compile(#4658).
|
||||
|
||||
### Added
|
||||
- Export `StackViewTransitionConfigs` to allow you to extend default config in custom transition configs. [#4761](https://github.com/react-navigation/react-navigation/pull/4761)
|
||||
|
||||
## [2.9.1] - [2018-07-24](https://github.com/react-navigation/react-navigation/releases/tag/2.9.1)
|
||||
### Fixed
|
||||
- Incorrect parameters passed to title offset calculation led to bug in header layout when no right component (https://github.com/react-navigation/react-navigation/issues/4754)
|
||||
|
3
src/react-navigation.js
vendored
3
src/react-navigation.js
vendored
@ -99,6 +99,9 @@ module.exports = {
|
||||
get StackViewCard() {
|
||||
return require('./views/StackView/StackViewCard').default;
|
||||
},
|
||||
get StackViewTransitionConfigs() {
|
||||
return require('./views/StackView/StackViewTransitionConfigs').default;
|
||||
},
|
||||
get SafeAreaView() {
|
||||
return require('react-native-safe-area-view').default;
|
||||
},
|
||||
|
@ -107,4 +107,8 @@ function getTransitionConfig(
|
||||
export default {
|
||||
defaultTransitionConfig,
|
||||
getTransitionConfig,
|
||||
SlideFromRightIOS,
|
||||
ModalSlideFromBottomIOS,
|
||||
FadeInFromBottomAndroid,
|
||||
FadeOutToBottomAndroid,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user