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

Configure Month-component props from Calendar-component #41

Open
FacetOfVerity opened this issue Apr 9, 2017 · 2 comments
Open

Configure Month-component props from Calendar-component #41

FacetOfVerity opened this issue Apr 9, 2017 · 2 comments

Comments

@FacetOfVerity
Copy link

I need to set "monthNameFormat " prop from Calendar-component, and change default property monthNameFormat: 'MMMM YYYY' in Month-component, but such opportunity is only available for "weekNumbers" prop.
It would be nice to be able to configure all the properties of internal components from Calendar-component

@lolJS lolJS self-assigned this Apr 24, 2017
@neha-brahmankar
Copy link

@FacetOfVerity
Any lead on how this can be done?

@FacetOfVerity
Copy link
Author

FacetOfVerity commented May 21, 2017

Just add object with Month props to Calendar props and throw fields of this object to Month component using spread operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants