UNPKG

1.43 kBTypeScriptView Raw
1import * as CardStyleInterpolators from './TransitionConfigs/CardStyleInterpolators';
2import * as HeaderStyleInterpolators from './TransitionConfigs/HeaderStyleInterpolators';
3import * as TransitionPresets from './TransitionConfigs/TransitionPresets';
4import * as TransitionSpecs from './TransitionConfigs/TransitionSpecs';
5
6/**
7 * Navigators
8 */
9export { default as createStackNavigator } from './navigators/createStackNavigator';
10
11/**
12 * Views
13 */
14export { default as Header } from './views/Header/Header';
15export { default as StackView } from './views/Stack/StackView';
16
17/**
18 * Transition presets
19 */
20export {
21 CardStyleInterpolators,
22 HeaderStyleInterpolators,
23 TransitionPresets,
24 TransitionSpecs,
25};
26
27/**
28 * Utilities
29 */
30export { default as CardAnimationContext } from './utils/CardAnimationContext';
31export { default as GestureHandlerRefContext } from './utils/GestureHandlerRefContext';
32export { default as useCardAnimation } from './utils/useCardAnimation';
33export { default as useGestureHandlerRef } from './utils/useGestureHandlerRef';
34
35/**
36 * Types
37 */
38export type {
39 StackCardInterpolatedStyle,
40 StackCardInterpolationProps,
41 StackCardStyleInterpolator,
42 StackHeaderInterpolatedStyle,
43 StackHeaderInterpolationProps,
44 StackHeaderProps,
45 StackHeaderStyleInterpolator,
46 StackNavigationEventMap,
47 StackNavigationOptions,
48 StackNavigationProp,
49 StackScreenProps,
50 TransitionPreset,
51} from './types';