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

13 lines 867 B
import { EmojiProps } from '../utils'; /** * Emoji component for displaying animated emojis. * @param {EmojiProps} props - The properties for the Emoji component. * @param {string} props.id - The unique identifier of the emoji. * @param {number} [props.size=100] - The size of the emoji in pixels. * @param {boolean} [props.playOnHover=false] - Whether to play the animation on hover. * @param {number|'infinite'} [props.animationIterations=2] - The number of times to play the animation, or 'infinite'. * @param {boolean} [props.autoPlay=true] - Whether to automatically play the animation on mount. * @returns {JSX.Element | null} The rendered Emoji component or null if the emoji is not found. */ export declare const Emoji: ({ id, size, playOnHover, animationIterations, autoPlay, }: EmojiProps) => JSX.Element | null; //# sourceMappingURL=Emoji.d.ts.map