Skip to main content
Version: 4.0.0-rc.8

Avatar.Accessory

This is used for adding an accessory to the Avatar. Receives either all Icon or Image props.

Usage

Import

import { Avatar } from '@rneui/themed';

Theme Key

AvatarAccessory

Props

note

Includes all Icon, Image, Text props.

NameTypeDefaultDescription
onLongPressGestureResponderEventHandlerCalled when a long-tap gesture is detected.
onPressGestureResponderEventHandlerCalled when a single tap gesture is detected.
onPressInGestureResponderEventHandlerCalled when a touch is engaged before onPress.
onPressOutGestureResponderEventHandlerCalled when a touch is released before onPress.
pressablePropsPressableProps except click handlersNone