2022-03-03 21:46:53 +00:00
|
|
|
import React from 'react';
|
2022-11-24 11:37:08 +00:00
|
|
|
import { ViewStyle } from 'react-native';
|
2022-03-03 21:46:53 +00:00
|
|
|
|
2022-02-17 15:27:01 +00:00
|
|
|
import { TGetCustomEmoji } from '../../definitions/IEmoji';
|
|
|
|
|
2021-09-13 20:41:05 +00:00
|
|
|
export interface IAvatar {
|
2022-01-12 12:54:04 +00:00
|
|
|
server?: string;
|
2022-11-24 11:37:08 +00:00
|
|
|
style?: ViewStyle;
|
2022-06-06 15:33:36 +00:00
|
|
|
text?: string;
|
2022-01-12 12:54:04 +00:00
|
|
|
avatar?: string;
|
|
|
|
emoji?: string;
|
|
|
|
size?: number;
|
|
|
|
borderRadius?: number;
|
|
|
|
type?: string;
|
2022-03-03 21:46:53 +00:00
|
|
|
children?: React.ReactElement | null;
|
2022-06-06 15:33:36 +00:00
|
|
|
userId?: string;
|
|
|
|
token?: string;
|
2022-01-12 12:54:04 +00:00
|
|
|
onPress?: () => void;
|
2022-02-17 15:27:01 +00:00
|
|
|
getCustomEmoji?: TGetCustomEmoji;
|
2022-01-12 12:54:04 +00:00
|
|
|
avatarETag?: string;
|
|
|
|
isStatic?: boolean | string;
|
|
|
|
rid?: string;
|
|
|
|
blockUnauthenticatedAccess?: boolean;
|
2022-06-06 15:33:36 +00:00
|
|
|
serverVersion?: string | null;
|
2023-06-16 19:21:40 +00:00
|
|
|
avatarExternalProviderUrl?: string;
|
|
|
|
roomAvatarExternalProviderUrl?: string;
|
2023-10-17 19:28:02 +00:00
|
|
|
cdnPrefix?: string;
|
2021-09-13 20:41:05 +00:00
|
|
|
}
|