UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

14 lines 661 B
import type { ComponentType } from 'react'; import type { ImageStyle, TextStyle, TransformsStyle, ViewStyle } from 'react-native'; type DeprecatedProps = 'transformMatrix' | 'rotation' | 'scaleX' | 'scaleY' | 'translateX' | 'translateY'; export type PlainStyle = Omit<ViewStyle & TextStyle & ImageStyle, DeprecatedProps>; export type AnyComponent = ComponentType<any>; export type TimeUnit = `${number}s` | `${number}ms` | number; export type Percentage = `${number}%`; export type Point = { x: number; y: number; }; export type TransformsArray = Exclude<TransformsStyle['transform'], string | undefined>; export {}; //# sourceMappingURL=common.d.ts.map