import { Story, Canvas, ArgsTable } from '@storybook/addon-docs'; import { AvatarBase } from '../'; import { AvatarFavicon } from './avatar-favicon'; # AvatarFavicon The `AvatarFavicon` is an image component that represents a dapp or third party service ## Props ### Size Use the `size` prop and the `AvatarFaviconSize` enum from `../../component-library` to change the size of `AvatarFavicon` Possible sizes include: - `AvatarFaviconSize.Xs` 16px - `AvatarFaviconSize.Sm` 24px - `AvatarFaviconSize.Md` 32px - `AvatarFaviconSize.Lg` 40px - `AvatarFaviconSize.Xl` 48px Defaults to `AvatarFaviconSize.MD` ```jsx import { AvatarFavicon, AvatarFaviconSize } from '../../component-library'; ``` ### Src Use the `src` prop to set the image to be rendered of the `AvatarFavicon`. ```jsx import { AvatarFavicon } from '../../component-library'; ``` ### Fallback Icon Props If there is no `src` then in that case an [icon](/docs/components-componentlibrary-icon--default-story) will be used as the fallback display and it can be customised via `fallbackIconProps`.