Skip to main content

UseEmojiDataOptions

Index

Properties

optionalavoidFetch

avoidFetch?: boolean

Avoid fetching emoji data. Assumes data has already been fetched.

optionalcompact

compact?: boolean

Load compact emoji dataset instead of full dataset.

optionallocale

locale?: Locale

Locale to load emoji labels in. Defaults to en.

optionalshortcodes

shortcodes?: string[]

List of shortcode presets to load and join with the dataset.

optionalthrowErrors

throwErrors?: boolean

Throw errors that occurred during a fetch. Defaults to true.

optionalversion

version?: string

Emojibase dataset version to load. Defaults to latest.