89471425b19d187b670c8d2c5ed5ac4aa1d3a5ba
import { BottomTabBarButtonProps } from 'expo-router/js-tabs';
import { Pressable } from 'react-native';
import type { Ref } from 'react';
import type { View } from 'react-native';
import * as Haptics from 'expo-haptics';
export function HapticTab(props: BottomTabBarButtonProps) {
const { ref, onPressIn, ...rest } = props;
return (
<Pressable
{...rest}
ref={ref as Ref<View>}
onPressIn={(ev) => {
onPressIn?.(ev);
}}
/>
);
}