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

204
Views
Estilos dinámicos de MUI Discrete Slider
const CustomizedSlider = withStyles((theme) => ({ track: { //styles the line between thumbs height: 4, backgroundColor: theme.palette.warning.main, // we can manipulate color here }, rail: { //styles line outside of thumbs opacity: 1, height: 4, borderRadius: 0, }, thumb: { height: 14, width: 14, background: 'white', border: '1px solid black', }, mark: { height: 8, borderRadius: 0, }, markActive: { opacity: 1, backgroundColor: 'currentColor', }, }))(Slider); <CustomizedSlider className={className} value={data.severity || 0} valueLabelDisplay="off" step={1} min={0} max={4} marks={steps} onChange={this.handleSeverityChange} />

Este componente es una parte de la interfaz de usuario. Se representó en el componente de clase de la misma manera: necesito tener una pista de color que se base en pasos (entrada [índice de datos]). Por ejemplo: si step.value === 0, el color de fondo de la pista activa es rojo, step.value === 1 - azul, etc.

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!