UNPKG

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