mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
feat: always focus input when search tab is pressed
This commit is contained in:
8
apps/expo/src/app/(tabs)/search/SearchTabContext.tsx
Normal file
8
apps/expo/src/app/(tabs)/search/SearchTabContext.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
import React from "react";
|
||||
|
||||
const SearchTabContext = React.createContext({
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||
focusSearchInputRef: { current: () => {} },
|
||||
});
|
||||
|
||||
export default SearchTabContext;
|
Reference in New Issue
Block a user