import { ComponentProps, FC, ReactNode } from "react"; import { NvAvatarShapes } from "./types"; export interface NvAvatarProps extends ComponentProps<"div"> { /** The background-color CSS property for the wrapper element. */ color?: string; /** The height CSS property for the wrapper element. */ height?: number; /** The shape of the component. */ shape?: NvAvatarShapes; /** The width CSS property for the wrapper element. */ width?: number; /** The additional CSS class for the wrapper element. */ className?: string; /** Used to render icon or text elements inside the Avatar. This can be an element, or just a string. */ children: ReactNode; } /** * Functional component for rendering an avatar with customizable color, size, and shape. * * @param color - The background color of the avatar. * @param height - The height of the avatar (default is 52). * @param width - The width of the avatar (default is 52). * @param className - Additional CSS class names for the avatar container. * @param children - The content to be displayed inside the avatar. * @param variant - The shape of the avatar (default is circle). * @returns JSX element representing the avatar with specified properties. */ declare const NvAvatar: FC; export default NvAvatar;