Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

389
Vistas
How to get classes on individual days on material ui DatePicker

I have a date picker component I'm importing from material ui's "Pickers" where I'm trying to get a class on the individual days of the week with the component:

            <DatePicker
              className={classNames(classes.datePicker)}
              onClose={() => this.onCloseStart()}
              classes={{ root: classNames(classes.dateRoot) }}
              open={openStart}
              dialogContentClassName={classNames(classes.contentClass)}
              DialogProps={{
                PaperProps: { className: classNames('picker', 'ck-time') },
              }}
              label="Start date"
              value={startValue}
              format="DD/MM/YYYY"
              onChange={(value) => onStartDateChange(value)}
              disableOpenOnEnter
              showTodayButton
              shouldDisableDate={disableStartDate}
              animateYearScrolling={false}
              disabled={disabled}
              leftArrowButtonProps={{
                classes: {
                  root: classNames('fs-ignore-rage-clicks', 'ck-previousmonth'),
                },
              }}
              rightArrowButtonProps={{
                classes: {
                  root: classNames('fs-ignore-rage-clicks', 'ck-nextmonth'),
                },
              }}
            />

I understand that I should be passing whatever class I'm trying to make somewhere onto Dialogprops, but I'm unable to find anything in the documentation that mentions what other props/attributes I can use besides my use of Paper props, which has allowed me to get classes on the entire dialogue box instead of the individual dates. Dialog box: Dialogbox

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda