import { AvatarProps as MuiAvatarProps } from '@material-ui/core/Avatar'; import React, { ReactNode } from 'react'; import { BadgeProps, TooltipProps } from '@material-ui/core'; export declare type UserAvatarProps = { name: string; avatar?: string; image?: string; img?: string; fb_id?: string; }; declare type BaseProps = Omit; export interface AvatarProps extends BaseProps { /** * default is circular */ hide?: boolean; user?: UserAvatarProps; helperText?: string; tooltipProps?: TooltipProps; rounded?: boolean; square?: boolean; /** * Tooltip placement. */ placement?: 'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'; size?: 'tiny' | 'small' | 'normal' | 'large' | number; icon?: ReactNode; shadow?: boolean; /** * true or border style */ border?: boolean | string; color?: string; badge?: ReactNode; badgeProps?: BadgeProps; borderStyle?: CSSStyleSheet; } declare const _default: React.NamedExoticComponent; export default _default; export declare const UProps: (props: UserAvatarProps) => null;