import React from "react"; import { Appearance } from "react-native"; import Svg, { Path } from "react-native-svg"; import SelectDropdown from "react-native-select-dropdown"; //styles import fontSize from "../constants/fontSize"; import Colors from "../constants/Colors"; function Select({ iconPosition, options, onChange, name, value, width, defaultValue, }) { const colorScheme = Appearance.getColorScheme(); return ( { onChange(name, selectedItem); }} renderDropdownIcon={() => ( )} /> ); } export default Select; Select.defaultProps = { options: ["1", "2", "3"], iconPosition: "left", };