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

197
Vistas
ERROR:2339 the property 'setNativeProps' does not exist type 'never'

whenever i use 'setNativeProps' in my code it won't work for some reason and its not just one code.It always show the error 2339 and im using typescript I'm using react.js with expo on a donut chart HERES THE CODE, PLZ HELP

    React.useEffect(() =>{
        const maxPerc=100 * percentage/max;
        const strokeDashoffset= circleCircumference - (circleCircumference *maxPerc) /100;
        animatedValue.addListener(v =>{
            if(circleRef?.current){
                circleRef.current.setNativeProps({
                    strokeDashoffset,
                });
            }
        })
    })
    return (
      <View>
          <Svg width={radius * 2}height={radius * 2} viewBox={`0 0 ${halfCircle * 2} ${halfCircle * 2}`}>
              <G rotation='-90 ' origin={`${halfCircle}, ${halfCircle}`}>
                  <Circle
                   cx='50%'
                   cy='50%'
                   stroke={color}
                   strokeWidth={strokeWidth}
                   r={radius}
                   fill="transparent"
                   strokeOpacity={0.2}
                  />
                  <AnimatedCircle
                   ref={circleRef}
                   cx='50%'
                   cy='50%'
                   stroke={color}
                   strokeWidth={strokeWidth}
                   r={radius}
                   fill="transparent"
                   strokeDasharray={circleCircumference}
                   strokeDashoffset={strokeDashoffset}
                   strokeLinecap='round'
                   />
              </G>
          </Svg>
      </View>
    );
}
about 4 years ago · Juan Pablo Isaza
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