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

208
Views
cambiar las pestañas de color del indicador Material UI v5

ingrese la descripción de la imagen aquí

Agrego pestañas en mi proyecto pero no puedo cambiar el indicador de fondo:

 const theme = createTheme({ MuiTabs: { root: { styleOverrides: { indicator: {backgroundColor: "red !important"}, }, indicator: {backgroundColor: "red !important"}, }, indicator: {backgroundColor: "red !important"}, styleOverrides: { indicator: {backgroundColor: "red !important"}, }, }, })

este es mi código pero no funciona.

y este es mi código jsx, podría ayudar:

 import {TabContext, TabList, TabPanel} from "@material-ui/lab"; import Box from "@mui/material/Box"; import Tab from "@mui/material/Tab"; <TabContext value={value}> <Box sx={{ borderBottom: 1, borderColor: 'divider' }}> <TabList onChange={handleChange} aria-label="lab API tabs example" textColor="primary" indicatorColor="primary" > <Tab label="Company Details" value="1" /> <Tab label="Admin Details" value="2" /> </TabList> </Box> <TabPanel value="1"> <FormSimple id={id}/> </TabPanel> <TabPanel value="2"><Admin id={id}/></TabPanel> </TabContext>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Encontré mi error, funciona muy bien si

 import {TabContext, TabList, TabPanel} from "@mui/lab";
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!