Avatar

Avatar is an Image but only take 1:1 ratio of the image avatarSizesavatarShapes

Usage#

Simple Usage#

import { Avatar } from 'react-native-rapi-ui';
<Avatar
source={{ uri: 'https://avatar.com/people' }}
size="lg"
shape="round"
/>;

Properties#

propsrequiredvalueDefault Value
sourceYesImageSourcePropType
sizeNoxl lg md smlg
shapeNoround rounded squareround