import { BaseProps } from "../_utils/props.js"; import React from "react"; //#region src/avatar/types.d.ts type AvatarShape = 'circle' | 'square'; type AvatarPresence = 'online' | 'busy' | 'away' | 'offline'; interface AvatarProps extends BaseProps, React.ComponentPropsWithoutRef<'span'> { /** use an icon */ icon?: React.ReactNode; /** avatar shape */ shape?: AvatarShape; /** avatar size */ size?: number; /** use an image */ src?: string; /** display presence status */ presence?: AvatarPresence; /** alt prop for src */ alt?: string; } interface AvatarGroupProps extends BaseProps, React.ComponentPropsWithoutRef<'span'> { /** the distance between two avatars */ gap: number | string; } //#endregion export { AvatarGroupProps, AvatarPresence, AvatarProps, AvatarShape }; //# sourceMappingURL=types.d.ts.map