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

default mode not configurable #4

Open
zaboyle opened this issue Mar 10, 2021 · 1 comment
Open

default mode not configurable #4

zaboyle opened this issue Mar 10, 2021 · 1 comment

Comments

@zaboyle
Copy link

zaboyle commented Mar 10, 2021

after following the steps outlined in the README, I was able to get the monthly calendar working. However, attempting to default the calendar to the daily view has no effect. I am passing in the mode prop to the Calendar component with no success:

Screen Shot 2021-03-09 at 7 24 11 PM

any help would be much appreciated

@mikeham98
Copy link
Owner

Apologies for getting back to you so late, there isn't a mode prop for the Calendar. mode gets passed to the header prop (component). I will be releasing a new version shortly that will contain an "initialMode" prop

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