import { Pressable, PressableProps } from 'react-native'; import { ThrottleOptions, useThrottledPressHandler } from '../../internal/utils/useThrottledPressHandler'; import { noop } from 'lodash'; import React from 'react'; export function PressableThrottled(props: PressableProps & ThrottleOptions) { const throttledPressHandler = useThrottledPressHandler(props.onPress ?? noop, props.throttle); return ; }