Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

284
Vistas
How to have an image on an image upload button with React Native?

This is my current code and I want to have a button that's an image, where you can upload a design for a socks competition. Any Ideas?

<TouchableOpacity onPress={pickImage}>
          <Image source={{uri: image}} source={designIcon} style={styles.thumbnail}/>
    </TouchableOpacity>
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Will you take the picture locally or from the internet? If locally,

<Image source={designIcon} style={styles.thumbnail}/>

or from URL,

 <Image source={{uri: image}} style={styles.thumbnail}/>

Note:

1-) thumbnail style should has height

2-) If image in your locally, designIcon should be : designIcon = require('imagepath/img.png')

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda