import React from 'react';
import { TouchableOpacity } from 'react-native';
import { generateHaptic } from '../../utils/helpers';
const CommonTouchable = ({ onPress = () => { }, haptic = 'impact', disabled = false, accessibility, accessibilityLabel, testID, id, ...rest }) => (<TouchableOpacity {...rest} accessibilityLabel={accessibilityLabel || accessibility} testID={testID || id || accessibility} disabled={disabled} onPress={(e) => {
        generateHaptic(haptic);
        onPress(e);
    }}/>);
export default CommonTouchable;
//# sourceMappingURL=index.js.map