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

174
Views
Usar un tema MUI personalizado en otro componente

Estoy usando next js y Mui 5 y quiero usar el tema de punto de interrupción en otro archivo. No puedo entender cómo puedo usarlo. Este es mi archivo breakpoint.js

 import {createTheme } from '@mui/material/styles'; declare module '@mui/material/styles' { interface BreakpointOverrides { xs: false; sm: false; md: false; lg: false; xl: false; mobile: true; tablet: true; laptop: true, desktop: true; } } export const breakpointTheme = createTheme({ breakpoints: { values: { mobile: 360, tablet: 768, laptop: 1024, desktop: 1440, }, }, });

Este es el archivo en el que quiero usar breakpointTheme dentro de mi tema del otro archivo.

 export const theme = responsiveFontSizes(createTheme({ palette: { warning: { light: warningLight, main: warning, dark: warningDark, }, info: { light: infoLight, main: info, dark: infoDark, }, // here I want to use breakpoint component }, }));

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!