We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a69c1 commit 474f1bdCopy full SHA for 474f1bd
1 file changed
src/libs/actions/EmojiPickerAction.ts
@@ -1,5 +1,5 @@
1
+import type {RefObject} from 'react';
2
import React from 'react';
-import type {MutableRefObject} from 'react';
3
import type {TextInput, View} from 'react-native';
4
import type {ValueOf} from 'type-fest';
5
import type {Emoji} from '@assets/emojis/types';
@@ -13,7 +13,7 @@ type AnchorOrigin = {
13
shiftVertical?: number;
14
};
15
16
-type EmojiPopoverAnchor = MutableRefObject<View | HTMLDivElement | TextInput | null>;
+type EmojiPopoverAnchor = RefObject<View | HTMLDivElement | TextInput | null>;
17
18
type EmojiPickerOnWillShow = (callback?: CloseContextMenuCallback) => void;
19
0 commit comments