Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

386
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda