2306fe8dc77d77c21eb842bebafcd3259c12abe0
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);
}}
/>
);
}