Skip to content

Instantly share code, notes, and snippets.

// Website you intended to retrieve for users.
const upstream = 'api.openai.com'
// Custom pathname for the upstream website.
const upstream_path = '/'
// Website you intended to retrieve for users using mobile devices.
const upstream_mobile = upstream
// Countries and regions where you wish to suspend your service.
@imwilliamxy
imwilliamxy / gist:3f815eaf55d982be0e4ac1a1fe847f62
Last active February 10, 2021 01:47
react-native-dropdown-autocomplete-textinput
'use strict';
import { useNavigation } from '@react-navigation/core';
import React, { useState, useEffect, } from 'react';
import {
KeyboardAvoidingView,
ScrollView,
View,
} from 'react-native';
// import { ScrollView } from 'react-native-gesture-handler';
import { useSelector } from 'react-redux';