1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-02-02 22:57:36 +01:00

15 lines
337 B
JavaScript
Raw Normal View History

2018-02-27 23:18:07 -08:00
import EmojiDialog from './EmojiDialog.html'
2018-03-31 18:46:44 -07:00
import { createDialogElement } from './createDialogElement'
2018-02-27 23:18:07 -08:00
2018-03-03 14:51:48 -08:00
export function showEmojiDialog (realm) {
2018-02-27 23:18:07 -08:00
let emojiDialog = new EmojiDialog({
2018-03-31 18:46:44 -07:00
target: createDialogElement(),
2018-02-27 23:18:07 -08:00
data: {
label: 'Emoji dialog',
2018-03-03 14:51:48 -08:00
title: 'Custom emoji',
realm
2018-02-27 23:18:07 -08:00
}
})
emojiDialog.show()
}