import { PluginObject } from 'vue' ; import locale from './locale' ; import { categoriesDefault } from './utils/categories' ; import { emojisDefault } from './utils/emojis' ; import VEmojiPicker from './VEmojiPicker.vue' ; const defaultOptions = { i18n : { } } ; const plugin = { VEmojiPicker , install : ( Vue , opts = defaultOptions ) => { locale . i18n ( opts . i18n ) ; Vue . component ( "VEmojiPicker" , VEmojiPicker ) ; } } ; export { VEmojiPicker , categoriesDefault , emojisDefault } ; export default plugin ;