UNPKG

nice-ui

Version:

React design system, components, and utilities

46 lines (45 loc) 1.19 kB
import * as React from 'react'; export interface AvatarBlockProps { id?: string; active?: boolean; href?: string; width?: number; src?: string; name?: string; hideName?: boolean; emoji?: string; subtext?: React.ReactNode; square?: boolean; rounded?: boolean; post?: boolean; title?: string; className?: string; color?: string; isPrivate?: boolean; isOP?: boolean; hover?: boolean; wideHover?: boolean; icon?: React.ReactNode; grey?: boolean; lightGrey?: boolean; greyText?: boolean; transparent?: boolean; spacious?: boolean; you?: boolean; avatarBottomRight?: React.ReactElement; noHover?: boolean; del?: boolean; circle?: boolean; bold?: boolean; letters?: number; onClick?: React.MouseEventHandler; onAvatarClick?: React.MouseEventHandler; onNameClick?: React.MouseEventHandler; onSubtextClick?: React.MouseEventHandler; renderRight?: (props: AvatarBlockProps) => React.ReactElement<any>; } /** * Similar to <Avatar> but also allows to specify username * and other info. */ export declare const AvatarBlock: React.FC<AvatarBlockProps>;