Rollback interfaces changes

This commit is contained in:
Gerzon Z 2021-09-17 16:25:07 -04:00
parent ec665e0bdb
commit 5379109882
2 changed files with 13 additions and 13 deletions

View File

@ -1,19 +1,19 @@
export interface IAvatar { export interface IAvatar {
server?: string; server: string;
style: any; style: any;
text: string; text: string;
avatar?: string; avatar: string;
emoji: string; emoji: string;
size: number; size: number;
borderRadius: number; borderRadius: number;
type?: string; type: string;
children?: JSX.Element; children: JSX.Element;
user: { user: {
id: string; id: string;
token: string; token: string;
}; };
theme: string; theme: string;
onPress?(): void; onPress(): void;
getCustomEmoji(): any; getCustomEmoji(): any;
avatarETag: string; avatarETag: string;
isStatic: boolean; isStatic: boolean;

View File

@ -23,24 +23,24 @@ import { isValidURL } from '../../utils/url';
interface IMarkdownProps { interface IMarkdownProps {
msg: string; msg: string;
getCustomEmoji?: Function; getCustomEmoji: Function;
baseUrl: string; baseUrl: string;
username: string; username: string;
tmid?: string; tmid: string;
isEdited?: boolean; isEdited: boolean;
numberOfLines: number; numberOfLines: number;
customEmojis?: boolean; customEmojis: boolean;
useRealName: boolean; useRealName: boolean;
channels: { channels: {
name: string; name: string;
_id: number; _id: number;
}[]; }[];
mentions?: object[]; mentions: object[];
navToRoomInfo: Function; navToRoomInfo: Function;
preview?: boolean; preview: boolean;
theme: string; theme: string;
testID?: string; testID: string;
style?: any; style: any;
onLinkPress: Function; onLinkPress: Function;
} }