function createAvatarWithInfo
createAvatarWithInfo(props: AvatarProps & { subtitle?: string; }): HTMLDivElement

Create avatar with name and metadata (e.g., for user lists)

Examples

Example 1

const user = createAvatarWithInfo({ name: 'John Doe', subtitle: 'john@example.com', status: 'online' });

Parameters

props: AvatarProps & { subtitle?: string; }

Return Type

HTMLDivElement

Usage

import { createAvatarWithInfo } from ".";