Avatar.Accessory
This is used for adding an accessory to the Avatar. Receives either all Icon or Image props.
Import
import { Avatar } from "@rneui/themed";
Props
Name | Type | Default | Description |
---|---|---|---|
onLongPress | GestureResponderEventHandler | Called when a long-tap gesture is detected. | |
onPress | GestureResponderEventHandler | Called when a single tap gesture is detected. | |
onPressIn | GestureResponderEventHandler | Called when a touch is engaged before onPress . | |
onPressOut | GestureResponderEventHandler | Called when a touch is released before onPress . | |
pressableProps | PressableProps except click handlers | None |