Avatar.Image

Avatars can be used to represent people in a graphical way.

Usage

import * as React from 'react';
import { Avatar } from 'react-native-paper';

const MyComponent = () => (
  <Avatar.Image size={24} source={require('../assets/avatar.png')} />
);

Props

source (required)
Type: ImageSourcePropType

Image to display for the Avatar.

size
Type: number
Default value: 64

Size of the avatar.

style
Type: StyleProp<ViewStyle>
theme
Type: Theme