nice-ui
Version:
React design system, components, and utilities
31 lines (30 loc) • 735 B
TypeScript
import * as React from 'react';
import { Scale } from 'nano-theme';
export interface AvatarProps extends React.AllHTMLAttributes<any> {
id?: string;
href?: string;
size?: Scale;
width?: number;
src?: string;
emoji?: string;
name?: string;
post?: boolean;
grey?: boolean;
lightGrey?: boolean;
transparent?: boolean;
className?: string;
square?: boolean;
rounded?: boolean;
isPrivate?: boolean;
isOP?: boolean;
badge?: React.ReactNode;
hover?: boolean;
color?: string;
icon?: any;
del?: boolean;
bottomRight?: React.ReactElement;
noHover?: boolean;
bold?: boolean;
letters?: number;
}
export declare const Avatar: React.FC<AvatarProps>;