diff --git a/components/common/Input.tsx b/components/common/Input.tsx index d82a3225..637023bc 100644 --- a/components/common/Input.tsx +++ b/components/common/Input.tsx @@ -1,10 +1,24 @@ import React from "react"; -import { TextInput, TextInputProps } from "react-native"; +import {Platform, TextInput, TextInputProps, TouchableOpacity} from "react-native"; export function Input(props: TextInputProps) { const { style, ...otherProps } = props; const inputRef = React.useRef(null); - return ( + return Platform.isTV ? ( + inputRef?.current?.focus?.()} + > + + + ) : ( - ); + ) }