react-navigation-stack
Version:
Stack navigator component for React Navigation
23 lines (22 loc) • 1.21 kB
TypeScript
import type { StackHeaderInterpolationProps, StackHeaderInterpolatedStyle } from '../types';
/**
* Standard UIKit style animation for the header where the title fades into the back button label.
*/
export declare function forUIKit({ current, next, layouts, }: StackHeaderInterpolationProps): StackHeaderInterpolatedStyle;
/**
* Simple fade animation for the header elements.
*/
export declare function forFade({ current, next, }: StackHeaderInterpolationProps): StackHeaderInterpolatedStyle;
/**
* Simple translate animation to translate the header to left.
*/
export declare function forSlideLeft({ current, next, layouts: { screen }, }: StackHeaderInterpolationProps): StackHeaderInterpolatedStyle;
/**
* Simple translate animation to translate the header to right.
*/
export declare function forSlideRight({ current, next, layouts: { screen }, }: StackHeaderInterpolationProps): StackHeaderInterpolatedStyle;
/**
* Simple translate animation to translate the header to slide up.
*/
export declare function forSlideUp({ current, next, layouts: { header }, }: StackHeaderInterpolationProps): StackHeaderInterpolatedStyle;
export declare function forNoAnimation(): StackHeaderInterpolatedStyle;