UNPKG

@lifespikes/ui

Version:
13 lines (12 loc) 914 B
import * as React from 'react'; import * as AvatarPrimitive from '@radix-ui/react-avatar'; import { FC } from 'react'; declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>; declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>; declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>; export interface SimpleAvatarProps extends React.ComponentPropsWithoutRef<typeof Avatar> { url: string; title: string; } declare const SimpleAvatar: FC<SimpleAvatarProps>; export { Avatar, AvatarImage, AvatarFallback, SimpleAvatar };