import React from 'react'; import {Image, Dimensions} from 'react-native'; import SelectDropdown from 'react-native-select-dropdown'; import dropdownIcon from '../assets/icons/dropdown.png'; import tw from 'tailwind-react-native-classnames'; function Select({iconPosition, options, onChange, value, width, defaultValue}) { return ( { onChange(selectedItem); }} renderDropdownIcon={() => ( )} /> ); } export default Select; Select.defaultProps = { options: ['1', '2', '3'], iconPosition: 'left', };