hossein-zare / react-native-dropdown-picker

A single / multiple, categorizable, customizable, localizable and searchable item picker (drop-down) component for react native which supports both Android & iOS.
https://hossein-zare.github.io/react-native-dropdown-picker-website/
MIT License
970 stars 294 forks source link

Add support for icon Image to be loaded from URL #680

Open memeflix-open-source opened 12 months ago

memeflix-open-source commented 12 months ago

This is the documentation:

icon: () => <Image source={require('./assets/icon.png')} style={styles.iconStyle} />

This is what we need (not works):

icon: () => <Image source={{ uri: require('https://cdn.discordapp.com/embed/avatars/1.png') }} />