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

106
Views
¿Cuáles serán los tipos de accesorios de useSpring?

Estoy usando resorte de reacción para animar rutas svg, alternando strokeDashArray. Aquí he escrito esto en el padre

 const dashArrayAnimation = useSpring({
 loop: {
 reverse: true,
 },
 from: { strokeDasharray: toggle ? 0 : 5 },
 to: { strokeDasharray: toggle ? 0 : 8 },
 config: { duration: 500 },
 });

y pasando esta const a los componentes secundarios, en los componentes secundarios, estoy tratando de definir su tipo de accesorio

 interface Props {
 type: Metric | undefined;
 animationTracker: {
 cardPositionName: string;
 mouseOver: boolean;
 trialType: number;
 };
 toggle: boolean;
 setToggle: React.Dispatch<React.SetStateAction<boolean>>;
 dashArrayAnimation: any;
}

¿Cuál será su tipo de apoyo?

almost 4 years ago · Santiago Trujillo
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!