Skip to content
Docs
Components
Touchables
Pressable

Pressable

Pressable component that is based on react native Pressable component.

Import

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

Usage

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

Props

Extends every Box props and react native Pressable component.

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