mirror of
https://github.com/hanzo-io/chat.git
synced 2026-10-30 18:57:58 +00:00
* feat(mobile): react to message * chore: remove unused code * fix(mobile): spacing and helper text
12 lines
503 B
TypeScript
12 lines
503 B
TypeScript
import { atomWithStorage, createJSONStorage } from 'jotai/utils';
|
|
import AsyncStorage from "@react-native-async-storage/async-storage"
|
|
|
|
export const doubleTapMessageEmojiAtom = atomWithStorage<string>('doubleTapMessageEmoji', '👍',
|
|
createJSONStorage(() => AsyncStorage), {
|
|
getOnInit: true
|
|
});
|
|
|
|
export const quickReactionEmojisAtom = atomWithStorage<string[]>('quickReactionEmojis', ["👍", "✅", "👀", "🎉", '❤️'],
|
|
createJSONStorage(() => AsyncStorage), {
|
|
getOnInit: true
|
|
}); |