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
La propiedad 'estilo' no existe en el tipo 'CSSProperties'

Estoy cambiando un componente de jsx a tsx y tengo un problema de mecanografiado con un componente que usa MaterialUI Grid. Este es el código:

 const GridItem = ({ style }: React.CSSProperties) => ( <Grid item style={{ ...{ textAlign: 'center', marginBottom: 0 }, ...style }}> {children} </Grid> )

Estoy recibiendo este error: ingrese la descripción de la imagen aquí

La propiedad 'estilo' no existe en el tipo 'CSSProperties'.ts(2339)

He intentado cambiar de CSSProperties a Element pero recibo el mismo mensaje de error. Y HTMLCollectionOf también...

¿Qué estoy haciendo mal?

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!