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

Add default render props #735

Merged
merged 1 commit into from
Sep 29, 2020
Merged

Add default render props #735

merged 1 commit into from
Sep 29, 2020

Commits on Sep 27, 2020

  1. Add default render props

    Moved the default implementation of rendering to default props,
    reducing the branching. I couldn't change `renderInput` (custom
    implementations get wrapped by a `div`, default one doesn't) and
    `renderMonth` (default implementation depends on state) trivially,
    so I left them out of this PR's scope.
    onlined committed Sep 27, 2020
    Configuration menu
    Copy the full SHA
    b30b25e View commit details
    Browse the repository at this point in the history