UNPKG

1.87 kBTypeScriptView Raw
1import type { StackCardInterpolatedStyle, StackCardInterpolationProps } from '../types';
2/**
3 * Standard iOS-style slide in from the right.
4 */
5export declare function forHorizontalIOS({ current, next, inverted, layouts: { screen }, }: StackCardInterpolationProps): StackCardInterpolatedStyle;
6/**
7 * Standard iOS-style slide in from the bottom (used for modals).
8 */
9export declare function forVerticalIOS({ current, inverted, layouts: { screen }, }: StackCardInterpolationProps): StackCardInterpolatedStyle;
10/**
11 * Standard iOS-style modal animation in iOS 13.
12 */
13export declare function forModalPresentationIOS({ index, current, next, inverted, layouts: { screen }, insets, }: StackCardInterpolationProps): StackCardInterpolatedStyle;
14/**
15 * Standard Android-style fade in from the bottom for Android Oreo.
16 */
17export declare function forFadeFromBottomAndroid({ current, inverted, layouts: { screen }, closing, }: StackCardInterpolationProps): StackCardInterpolatedStyle;
18/**
19 * Standard Android-style reveal from the bottom for Android Pie.
20 */
21export declare function forRevealFromBottomAndroid({ current, next, inverted, layouts: { screen }, }: StackCardInterpolationProps): StackCardInterpolatedStyle;
22/**
23 * Standard Android-style zoom for Android 10.
24 */
25export declare function forScaleFromCenterAndroid({ current, next, closing, }: StackCardInterpolationProps): StackCardInterpolatedStyle;
26/**
27 * Standard bottom sheet slide in from the bottom for Android.
28 */
29export declare function forBottomSheetAndroid({ current, inverted, layouts: { screen }, closing, }: StackCardInterpolationProps): StackCardInterpolatedStyle;
30/**
31 * Simple fade animation for dialogs
32 */
33export declare function forFadeFromCenter({ current: { progress }, }: StackCardInterpolationProps): StackCardInterpolatedStyle;
34export declare function forNoAnimation(): StackCardInterpolatedStyle;