vn-verdnaturachat/app/definitions/IEmoji.ts

25 lines
415 B
TypeScript
Raw Normal View History

export interface IEmoji {
content: any;
name: string;
extension: any;
isCustom: boolean;
}
export interface ICustomEmoji {
baseUrl?: string;
emoji: IEmoji;
style: any;
}
export interface IEmojiCategory {
baseUrl: string;
emojis: IEmoji[];
onEmojiSelected: Function;
emojisPerRow: number;
width: number;
style: any;
tabLabel: string;
}
export type TGetCustomEmoji = (name: string) => IEmoji | null;