UNPKG

rn-tony-animated-pressable

Version:

A custom animated React Native package with an aweful name which implements the React Native Pressable component.

12 lines (11 loc) 430 B
import React from "react"; import { PressableProps, ViewStyle } from "react-native"; interface Props extends PressableProps { children?: React.ReactNode; scaleValue?: number; friction?: number; tension?: number; style?: ViewStyle | ViewStyle[]; } declare const RNTAnimatedPressable: ({ children, scaleValue, friction, tension, style, ...restProps }: Props) => JSX.Element; export default RNTAnimatedPressable;