Skip to main content

Overview

The TouchableWithoutFeedback component responds to touches without providing visual feedback. Uniwind provides className prop support for styling this component.

Styling Convention

For style props: Use regular Tailwind classes directly (e.g., className="p-4").For non-style props (like color): Use the accent- prefix (e.g., colorClassName="accent-bg-blue-500").

Uniwind Bindings

className
string
Maps to the style prop. Use any Tailwind utility classes.

Usage Example

import { TouchableWithoutFeedback, View, Text } from 'react-native'

<TouchableWithoutFeedback onPress={() => console.log('Pressed')}>
  <View className="bg-gray-100 rounded-lg p-4 m-2">
    <Text className="text-gray-900 text-center">
      Press Me (No Feedback)
    </Text>
  </View>
</TouchableWithoutFeedback>
I