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

388
Views
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
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!