#101 - add emoji selector basic mockup

This commit is contained in:
jared 2019-03-29 11:49:32 -04:00
parent 25370083b6
commit 2c4e80aab3
4 changed files with 97 additions and 0 deletions

View file

@ -0,0 +1,26 @@
const EmojiSelector = {
data () {
return {
open: false
}
},
mounted () {
console.log(this.$store.state.instance.emoji)
console.log(this.$store.state.instance.customEmoji)
},
methods: {
togglePanel () {
this.open = !this.open
}
},
computed: {
standardEmoji () {
return this.$store.state.instance.emoji || []
},
customEmoji () {
return this.$store.state.instance.customEmoji || []
}
}
}
export default EmojiSelector