UNPKG

animated-fluent-emojis

Version:

Animated Fluent Emojis is a React component library that brings Microsoft's Fluent emojis to life in your web applications. This library offers an easy way to integrate expressive and engaging animated emojis, enhancing user experience and visual appeal i

26 lines 1.19 kB
import { EmojiManifest } from '.'; /** * Generates the emoji manifest from the raw manifest data. * @returns {Promise<Record<string, EmojiManifest>>} A promise that resolves to the processed emoji manifest. */ export declare function generateEmojiManifest(): Promise<Record<string, EmojiManifest>>; /** * A promise that resolves to the processed emoji manifest. */ export declare const emojiManifestPromise: Promise<Record<string, EmojiManifest>>; /** * Gets the category folder for a given emoji id. * @param {string} id - The emoji id. * @returns {Promise<string>} A promise that resolves to the category folder name. * @throws {Error} If the emoji is not found. */ export declare function getCategoryFolder(id: string): Promise<string>; /** * Generates the keyframe animation CSS for a specific emoji and size. * @param {string} id - The emoji id. * @param {number} size - The size of the emoji in pixels. * @returns {Promise<string>} A promise that resolves to the generated CSS string. * @throws {Error} If the emoji is not found. */ export declare function generateEmojiStyle(id: string, size: number): Promise<string>; //# sourceMappingURL=emojiManifest.d.ts.map