Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

202
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!