vn-verdnaturachat/app/containers/Avatar/interfaces.ts

28 lines
568 B
TypeScript
Raw Normal View History

import React from 'react';
import { TGetCustomEmoji } from '../../definitions/IEmoji';
export interface IAvatar {
server?: string;
style?: any;
text: string;
avatar?: string;
emoji?: string;
size?: number;
borderRadius?: number;
type?: string;
children?: React.ReactElement | null;
user?: {
id?: string;
token?: string;
};
onPress?: () => void;
getCustomEmoji?: TGetCustomEmoji;
avatarETag?: string;
isStatic?: boolean | string;
rid?: string;
blockUnauthenticatedAccess?: boolean;
serverVersion: string | null;
externalProviderUrl?: string;
}