Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.
Preview
Variants and Examples
Text Only
Variants
Vue API
Slots
Props
Usage
Import
import { DtEmojiTextWrapper } from '@dialpad/dialtone-vue';
Limitations
Currently, this wrapper component can't handle Vue components, make sure to wrap only native HTML elements and text.
Custom Emojis
It supports custom emojis, you can use the shortcode to display them. For example, :octocat: will render the octocat emoji.
To do this, you need to set up custom emojis in your application.