I need this tho

This commit is contained in:
Violet Caulfield
2025-01-24 07:47:50 -06:00
parent d2739fa138
commit 9a901dca5a
2 changed files with 3 additions and 3 deletions

View File

@@ -1,9 +1,9 @@
import { Colors } from '../../../enums/colors';
import React, { SetStateAction } from 'react';
import React from 'react';
import { Input as TamaguiInput} from 'tamagui';
interface InputProps {
onChangeText: React.Dispatch<SetStateAction<string | undefined>>,
onChangeText: (value: string | undefined) => void,
placeholder: string
value: string | undefined;
secureTextEntry?: boolean | undefined;

View File

@@ -36,7 +36,7 @@ export default function Search({
return (
<Input
placeholder="The Seeker"
onChangeText={(value) => setSearchString(value)}
onChangeText={(value) => handleSearchStringUpdate(value)}
value={searchString}
/>
)