i got this problem
onChangeText={text => this.searchFilterFunction(text)}
Type ‘(text: string) => void’ is not assignable to type ‘((text: string) => void) & ((text: string) => void) & (() => any) & (() => any) & (() => any)’.
Type ‘(text: string) => void’ is not assignable to type ‘() => any’.
The expected type comes from property ‘onChangeText’ which is declared here on type ‘IntrinsicAttributes & TextInputProps & RefAttributes & { platform: “default” | “ios” | “android”; … 13 more …; onCancel?(): void; } & … 6 more … & Partial<…>’