@airship/rn-components
Version:
React Native components, from basic inputs to animated wrappers, created by Airship to build quality apps.
18 lines (17 loc) • 556 B
TypeScript
import React from 'react';
import { Animated, ViewStyle } from 'react-native';
declare type Props = {
style?: ViewStyle;
toScaleValue?: number;
friction?: number;
tension?: number;
colorTransitionDuration?: number;
colorStart?: string;
colorEnd?: string;
isPressed?: boolean;
callFunctionOnPressIn?: boolean;
onPress?: () => void;
renderComponent?: (colorInterpolation: Animated.AnimatedInterpolation) => React.ReactElement;
};
declare const AnimatedPressable: React.FC<Props>;
export default AnimatedPressable;