UNPKG

1.49 kBTypeScriptView Raw
1import type { StackCardInterpolationProps, StackCardInterpolatedStyle } 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 reveal from the bottom for Android Q.
24 */
25export declare function forScaleFromCenterAndroid({ current, next, closing, }: StackCardInterpolationProps): StackCardInterpolatedStyle;
26export declare function forNoAnimation(): StackCardInterpolatedStyle;