@tkow/react-native-modal
Version:
An enhanced React Native modal
17 lines (16 loc) • 617 B
TypeScript
import { Animation, CustomAnimation } from 'react-native-animatable';
import { Animations } from './modal/types';
export declare const initializeAnimations: () => void;
export declare const makeSlideTranslation: (translationType: string, fromValue: number, toValue: number) => {
from: {
[x: string]: number;
};
to: {
[x: string]: number;
};
};
export declare const buildAnimations: ({ animationIn, animationOut, }: {
animationIn: Animation | CustomAnimation;
animationOut: Animation | CustomAnimation;
}) => Animations;
export declare const reverseRate: (x: number) => number;