Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing currentDate argument does not work. #305

Open
xSerioUsx78 opened this issue Jul 31, 2024 · 0 comments
Open

Passing currentDate argument does not work. #305

xSerioUsx78 opened this issue Jul 31, 2024 · 0 comments

Comments

@xSerioUsx78
Copy link

I want to pass a custom datetime to the component, but it does not work, why ?

<DatePicker
        currentDate={
          new DateObject({
            year: 2021,
            month: 2,
            day: 1,
          })
        }
        highlightToday={false}
        className={getBaseClassNames}
        ref={ref}
        {...rest}
      />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant