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

292
Vistas
View config getter callback for component `RCTText` must be a function (received `undefined`)

I have created a custom wrapper for text in RN and when I trying to import, It getting this error View config getter callback for component 'RCTText' must be a function (received 'undefined'). here is my code. I have tried to import View instead of Text and its working. Can't find the exact issue here. (for full code check image)

import React from 'react'
import PropTypes from 'prop-types'
import { Text as RNText } from 'react-native'
//...other imports

    const Text = (props) => {
      const {
        children,
        textProps,
        testIds,
      } = props
    
      return (
        <RNText
                {...testProps(testIds.textTestId)}
                {...textStyleProps(props)}
                allowFontScaling={false}
                maxFontSizeMultiplier={0}
                {...textProps}
        >
          {children}
        </RNText>
      )
    }

enter image description here

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

0

Any solutions?


about 4 years ago · Dima Tronciu 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