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

160
Views
¿Cómo resuelvo el problema de formato en vscode para reaccionar?

Empecé a ver un tutorial de React.

Y tengo un problema, vscode no da formato a las constantes con estilo. Además si quiero escribir fs14 o fs no me recomienda nada.

 const Container = styled.div` width: 100%; height: 100vh; display: flex; position: relative; background-color: coral; ` const Arrow = styled.div` width: 50px; height: 50px; background-color: #fff7f7; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: absolute; top: 0; bottom: 0; left: ${(props) => props.direction === "left" && "10px"}; right: ${(props) => props.direction === "right" && "10px"}; margin: auto; `

Después de formatear el archivo, el contenedor sigue siendo el mismo. Además, si quiero escribir fs/fs14, por ejemplo, no recomienda mi tamaño de fuente => tamaño de fuente: 14;

¿Ayuda por favor? :D

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Intente instalar la extensión de componentes con estilo y vea si eso resuelve el problema https://marketplace.visualstudio.com/items?itemName=styled-components.vscode-styled-components

about 4 years ago · Juan Pablo Isaza Report
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!