Skip to content
Docs
Components
Touchables
TouchableWithoutFeedback

TouchableWithoutFeedback

Component that is based on react native TouchableWithoutFeedback component.

Import

import { TouchableWithoutFeedback } from 'react-native-ficus-ui';

Usage

EDITABLE EXAMPLE
<VStack spacing={10}>
  <TouchableWithoutFeedback onPress={() => console.log('Pressed')}>
    <Text>Test</Text>
  </TouchableWithoutFeedback>
  <TouchableWithoutFeedback
    bg="red.300"
    p="xl"
    borderRadius="xl"
    onPress={() => console.log('Pressed')}
  >
    <Text>Test</Text>
  </TouchableWithoutFeedback>
</VStack>

Props

Extends every Box props and react native TouchableWithoutFeedback component.

https://reactnative.dev/docs/touchablewithoutfeedback#props (opens in a new tab)