UNPKG

1.21 kBTypeScriptView Raw
1import type { StackHeaderInterpolationProps, StackHeaderInterpolatedStyle } from '../types';
2/**
3 * Standard UIKit style animation for the header where the title fades into the back button label.
4 */
5export declare function forUIKit({ current, next, layouts, }: StackHeaderInterpolationProps): StackHeaderInterpolatedStyle;
6/**
7 * Simple fade animation for the header elements.
8 */
9export declare function forFade({ current, next, }: StackHeaderInterpolationProps): StackHeaderInterpolatedStyle;
10/**
11 * Simple translate animation to translate the header to left.
12 */
13export declare function forSlideLeft({ current, next, layouts: { screen }, }: StackHeaderInterpolationProps): StackHeaderInterpolatedStyle;
14/**
15 * Simple translate animation to translate the header to right.
16 */
17export declare function forSlideRight({ current, next, layouts: { screen }, }: StackHeaderInterpolationProps): StackHeaderInterpolatedStyle;
18/**
19 * Simple translate animation to translate the header to slide up.
20 */
21export declare function forSlideUp({ current, next, layouts: { header }, }: StackHeaderInterpolationProps): StackHeaderInterpolatedStyle;
22export declare function forNoAnimation(): StackHeaderInterpolatedStyle;