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

436
Vistas
Native Base: how to find source code of <Input>?

I'm using the <Input> component from Native Base in my React Native app.

I want to find the source code, so I looked in node_modules/native-base/src/index.js and it has a line that says import { Input } from './basic/Input';. So I went to node_modules/native-base/src/basic/Input.js. I tried editing this file in order to see whether it affected the Input I had have rendered in my app, and thus confirm whether this is the correct source file. Nothing changed anything; even when I commented out the entire Input.js file, nothing changed.

Where did I go wrong here, and how should I approach finding this file?

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

 *render() {
        const { input, meta, ...inputProps } = this.props;
    
        return (
          <InputGroup underline>
            <Input
              onChangeText={input.onChange}
              onBlur={input.onBlur}
              onFocus={input.onFocus}
              value={input.value}
              {...inputProps}
            />
          </InputGroup>
        );
      }*
about 4 years ago · Juan Pablo Isaza Denunciar

0

If you wanted to check the source code, then checkout

If you want to update the files in your node_modules, you need to know a few things

  1. Usually node_modules/native-base/src should be the last place you should visit. Because bundlers usually don't look into this.
  2. So the code which is actually being used, exist in either of the 2 place based on your bundler. node_modules/native-base/lib/module/components/primitives/Input/Input.tsx node_modules/native-base/lib/commonjs/components/primitives/Input/Input.tsx

NOTE: My answer is based on the assumption you're NativeBase version 3.x. For 2.x file path may change a little.

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