2022-03-31 12:38:20 +00:00
|
|
|
// TODO: evaluate unification with IEmoji
|
2021-09-13 20:41:05 +00:00
|
|
|
export interface IEmoji {
|
2022-03-31 12:38:20 +00:00
|
|
|
content?: string;
|
|
|
|
name?: string;
|
|
|
|
extension?: string;
|
|
|
|
isCustom?: boolean;
|
2021-09-13 20:41:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface ICustomEmoji {
|
2022-02-17 15:27:01 +00:00
|
|
|
baseUrl?: string;
|
2021-09-13 20:41:05 +00:00
|
|
|
emoji: IEmoji;
|
|
|
|
style: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IEmojiCategory {
|
|
|
|
baseUrl: string;
|
|
|
|
emojis: IEmoji[];
|
|
|
|
onEmojiSelected: Function;
|
|
|
|
emojisPerRow: number;
|
|
|
|
width: number;
|
|
|
|
style: any;
|
|
|
|
tabLabel: string;
|
|
|
|
}
|
2022-02-17 15:27:01 +00:00
|
|
|
|
2022-03-02 14:18:01 +00:00
|
|
|
// TODO: copied from reducers/customEmojis. We can unify later.
|
|
|
|
export interface IReduxEmoji {
|
|
|
|
name: string;
|
|
|
|
extension: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
export type TGetCustomEmoji = (name: string) => any;
|