@trellixio/roaster-coffee
Version:
Beans' product component library
13 lines • 562 B
TypeScript
import * as React from 'react';
export interface AvatarProps {
/** The URL of the avatar image (optional) */
src?: string | null;
/** The alternate text to be displayed if the image cannot be loaded (optional) */
alt?: string;
/** The name of the user or entity that the avatar represents (required) */
name: string;
/** The size of the avatar image (optional) */
size?: number;
}
export declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Avatar.d.ts.map