UNPKG

878 BTypeScriptView Raw
1import { Animation, CustomAnimation } from 'react-native-animatable';
2import { NativeSyntheticEvent, NativeTouchEvent } from 'react-native';
3export declare type OrNull<T> = null | T;
4export declare type SupportedAnimation = Animation | CustomAnimation;
5export declare type Animations = {
6 animationIn: string;
7 animationOut: string;
8};
9export declare type Orientation = 'portrait' | 'portrait-upside-down' | 'landscape' | 'landscape-left' | 'landscape-right';
10export declare type Direction = 'up' | 'down' | 'left' | 'right';
11export declare type AnimationEvent = (...args: any[]) => void;
12export declare type PresentationStyle = 'fullScreen' | 'pageSheet' | 'formSheet' | 'overFullScreen';
13export declare type OnOrientationChange = (orientation: NativeSyntheticEvent<any>) => void;
14export interface GestureResponderEvent extends NativeSyntheticEvent<NativeTouchEvent> {
15}