Skip to main content

Avatar.Icon

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

How to use

import * as React from 'react';
import {Avatar} from '@gyri/native-ui-components';

const MyComponent = () => (
<Avatar.Icon size={24} icon="folder" />
);

Props

#NameData typeDefault valueValuesDescription
1size (required)number64Size for the title.
2icon (required)stringIcon for the avatar.
3iconColorstringCustom color for the icon.

For more detail visit https://callstack.github.io/react-native-paper/docs/components/Avatar/AvatarIcon