@ctrl/ngx-emoji-mart
Version:
Customizable Slack-like emoji picker for Angular
58 lines (57 loc) • 1.31 kB
TypeScript
import { Emoji } from '../emoji.component';
export interface EmojiCategory {
id: string;
name: string;
emojis: any[] | null;
anchor?: boolean;
first?: boolean;
}
export interface CompressedEmojiData {
name: string;
unified: string;
shortName: string;
shortNames?: string[];
sheet: [number, number];
keywords?: string[];
hidden?: string[];
emoticons?: string[];
text?: string;
skinVariations?: EmojiVariation[];
obsoletedBy?: string;
obsoletes?: string;
}
export interface EmojiData {
id: string;
name: string;
unified?: string;
shortName: string;
shortNames: string[];
sheet: [number, number];
keywords: string[];
hidden: string[];
emoticons: string[];
text: string;
set?: Emoji['set'];
skinVariations: EmojiVariation[];
obsoletedBy?: string;
obsoletes?: string;
skinTone?: Emoji['skin'];
custom?: boolean;
native?: string;
imageUrl?: string;
colons?: string;
skin?: Emoji['skin'];
spriteUrl?: string;
sheetRows?: string;
}
export interface EmojiVariation {
unified: string;
sheet: [number, number];
hidden?: string[];
}
export interface SkinData {
name: string;
unified: string;
shortName: string;
sheet: [number, number];
}