1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Allow custom exit

This commit is contained in:
xmflsct
2022-09-23 00:21:41 +02:00
parent 8ef2b89a09
commit 7d9056b562
12 changed files with 38 additions and 71 deletions

View File

@ -5,9 +5,8 @@ type inputProps = {
value: [string, (value: string) => void]
selection: [{ start: number; end?: number }, (selection: { start: number; end?: number }) => void]
isFocused: MutableRefObject<boolean>
ref?: RefObject<TextInput> // For controlling focus
ref: RefObject<TextInput> // For controlling focus
maxLength?: number
addFunc?: (add: string) => void // For none default state update
}
export type Emojis = MutableRefObject<