pinafore/routes/_components/dialog/showEmojiDialog.js
2018-03-31 18:46:44 -07:00

15 lines
337 B
JavaScript

import EmojiDialog from './EmojiDialog.html'
import { createDialogElement } from './createDialogElement'
export function showEmojiDialog (realm) {
let emojiDialog = new EmojiDialog({
target: createDialogElement(),
data: {
label: 'Emoji dialog',
title: 'Custom emoji',
realm
}
})
emojiDialog.show()
}