goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
14 lines • 676 B
TypeScript
import { default as React } from 'react';
import { AvatarStyles } from '../../theme';
export interface AvatarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'style'> {
/** The content to be displayed within the avatar (icon, text, or image). */
children: React.ReactNode;
/** Comprehensive styling options including theme, size, colors, and layout properties. */
styles?: AvatarStyles;
}
/**
* A circular avatar component with theming support for displaying icons, images, or text.
*/
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
export default Avatar;
//# sourceMappingURL=index.d.ts.map