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

How to Disable the Day list #16

Open
vc-akashkadia opened this issue Sep 15, 2020 · 1 comment
Open

How to Disable the Day list #16

vc-akashkadia opened this issue Sep 15, 2020 · 1 comment

Comments

@vc-akashkadia
Copy link

image

How to remove this list

@vc-akashkadia vc-akashkadia changed the title How to Disable the Day list How to Disable the Day list Sep 15, 2020
@rbandooni
Copy link

rbandooni commented Sep 29, 2020

@vc-akashkadia I don’t think this has been documented by the author, however, after looking at the source code I figured out that you would need to pass an empty array to the definedRanges prop

<DateRangePicker
definedRanges={[]}
open={dateRangeOpen}
onChange={(range) => setDateRange(range)}
  />

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

2 participants