import { ComponentClass, FunctionComponent } from 'react'; import { StyleProp, TextStyle, ViewStyle } from 'react-native'; import { IconObject } from '../Icon'; import { ImageProps } from '../Image'; import { ImageSrcType } from '../../@types/image'; import { BaseProperties } from '../../@types/utilities'; import { ColorName } from '../../context/theme/types'; import { SxProps } from '../../lib/styleDictionary'; export type AvatarIcon = Omit; export interface AvatarProps extends BaseProperties { Component?: FunctionComponent | ComponentClass; ImageComponent?: ComponentClass; icon?: AvatarIcon; bordered?: boolean; imageProps?: Partial; showCountText?: number | 'all'; backgroundColor?: ColorName; borderColor?: ColorName; innerBorderColor?: ColorName; size?: number; src?: ImageSrcType; style?: StyleProp; sx?: SxProps & { root?: SxProps; container?: SxProps; icon?: SxProps; text?: SxProps; image?: SxProps; }; text?: string; textColor?: ColorName; textStyle?: StyleProp; type?: 'circle' | 'square'; } export interface AvatarGroupProps extends Pick { separatePercentage?: number; max?: number; style?: StyleProp; itemStyle?: StyleProp; items: AvatarProps[]; onMoreItems?: () => void | Promise; moreProps?: Partial; } //# sourceMappingURL=types.d.ts.map