Skip to content

Commit aafdff6

Browse files
committed
chore: renamed stack function to createSharedElementStackNavigator
BREAKING CHANGE: `createSharedElementTransitioner` was renamed to `createSharedElementStackNavigator`
1 parent f27d03d commit aafdff6

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/createSharedElementTransitioner.tsx renamed to src/createSharedElementStackNavigator.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function createSharedElementEnabledNavigator(
4141
});
4242
}
4343

44-
function createSharedElementTransitioner(
44+
function createSharedElementStackNavigator(
4545
createNavigator: any,
4646
RouteConfigs: any,
4747
NavigatorConfig: any
@@ -68,4 +68,4 @@ function createSharedElementTransitioner(
6868
return SharedElementRenderer;
6969
}
7070

71-
export default createSharedElementTransitioner;
71+
export default createSharedElementStackNavigator;

src/index.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
export * from './types';
22

33
export {
4-
default as createSharedElementTransitioner,
5-
} from './createSharedElementTransitioner';
6-
7-
export {
8-
default as enableSharedElementTransitions,
9-
} from './createSharedElementTransitioner';
4+
default as createSharedElementStackNavigator,
5+
} from './createSharedElementStackNavigator';
106

117
export { default as SharedElement } from './SharedElement';

0 commit comments

Comments
 (0)