import { TextInput, View, Linking } from "react-native"; import { Text } from "../common/Text"; interface Props { value: string; onChangeValue: (value: string) => void; } export const OptimizedServerForm: React.FC = ({ value, onChangeValue, }) => { const handleOpenLink = () => { Linking.openURL("https://github.com/streamyfin/optimized-versions-server"); }; return ( URL onChangeValue(text)} /> Enter the URL for the optimize server. The URL should include http or https and optionally the port.{" "} Read more about the optimize server. ); };