Implement twemoji on emote
This commit is contained in:
parent
603045bcad
commit
624593e425
6 changed files with 51 additions and 31 deletions
|
@ -1,5 +1,11 @@
|
|||
import { writable } from "svelte/store";
|
||||
|
||||
export interface Emoji {
|
||||
unicode: string;
|
||||
url: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
function createEmoteMenuStore() {
|
||||
const { subscribe, set } = writable(false);
|
||||
|
||||
|
@ -14,5 +20,5 @@ function createEmoteMenuStore() {
|
|||
};
|
||||
}
|
||||
|
||||
export const emoteStore = writable<string | null>(null);
|
||||
export const emoteStore = writable<Emoji | null>(null);
|
||||
export const emoteMenuStore = createEmoteMenuStore();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue