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
| # | Name | Data type | Default value | Values | Description |
|---|---|---|---|---|---|
| 1 | size (required) | number | 64 | Size for the title. | |
| 2 | icon (required) | string | Icon for the avatar. | ||
| 3 | iconColor | string | Custom color for the icon. |
For more detail visit https://callstack.github.io/react-native-paper/docs/components/Avatar/AvatarIcon