getAvailableEmoji()
available from v4.0.187
Gets a list of available emoji that you can use with <AnimatedEmoji>
.
get-emoji.tstsx
import {getAvailableEmojis } from "@remotion/animated-emoji";constemojiList =getAvailableEmojis ();console .log (emojiList );
get-emoji.tstsx
import {getAvailableEmojis } from "@remotion/animated-emoji";constemojiList =getAvailableEmojis ();console .log (emojiList );
Return value
An array of objects with the following properties:
name
The name of the emoji. You can pass the name to the emoji
prop.
categories
An array of categories that the emoji belongs to.
tags
An array of tags that the emoji has.
durationInSeconds
The duration of the emoji in seconds.
codepoint
The Unicode codepoint of the emoji.