diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-10-01 00:53:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-30 16:53:11 -0500 |
commit | 2129f69fa0fdf85645fabe77f0803beb6d93f819 (patch) | |
tree | cb0c72c14951072de406dfbe5598c639f6af47d3 /src/components/forms/TextField.tsx | |
parent | b4941d8556492375ce3ce96292e00d4e21c73e5e (diff) | |
download | voidsky-2129f69fa0fdf85645fabe77f0803beb6d93f819.tar.zst |
ALF text input for generic search input (#5511)
* alf text input for generic search input * clearer ref naming * Adjust props and definition * Migrate props * Migrate props * Migrate props * Replace on search screen * rm old props --------- Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/components/forms/TextField.tsx')
-rw-r--r-- | src/components/forms/TextField.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/forms/TextField.tsx b/src/components/forms/TextField.tsx index 21928d3df..96d3481cd 100644 --- a/src/components/forms/TextField.tsx +++ b/src/components/forms/TextField.tsx @@ -126,7 +126,7 @@ export type InputProps = Omit<TextInputProps, 'value' | 'onChangeText'> & { value?: string onChangeText?: (value: string) => void isInvalid?: boolean - inputRef?: React.RefObject<TextInput> + inputRef?: React.RefObject<TextInput> | React.ForwardedRef<TextInput> } export function createInput(Component: typeof TextInput) { |