import React, { useState } from "react";
import { StyleSheet, View } from "react-native";
import colors from "../config/colors";
import DropDownPicker from "react-native-dropdown-picker";
import { Shadow } from "react-native-shadow-2";
function DropDown({
value,
setValue,
items,
setItems,
formPlaceholder,
searchPlaceholder,
nothingToShow,
}) {
const [open, setOpen] = useState(false);
return (
);
}
function SearchablePicker({
value,
setValue,
items,
setItems,
formPlaceholder,
searchPlaceholder,
nothingToShow = "Não encontramos nada com esse termo",
}) {
return (
);
}
const styles = StyleSheet.create({
location: {
flex: 1,
alignSelf: "flex-start",
marginRight: 12,
marginLeft: 12,
},
});
export default SearchablePicker;