-
-
Notifications
You must be signed in to change notification settings - Fork 195
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 custom element to calendar #261
Comments
I'd use a wrapper (a flex box, perhaps?) that holds both React-Calendar and the bar with the button you want to add :) |
I'm actually using What I wish I had is composable components, so that I could do something like: <DatePicker>
<div>
<Calendar />
<MyCloseButton />
</div>
</DatePicker> |
Oh shoot, yeah, that's an entirely different story. Let me move this ticket there. I suppose we would need to add a method to render custom calendar or at least some things next to the calendar. |
This would be a very interesting feature. I am facing a similar problems. I want to render presets, e.g. a button to "Last Month" or "Last Year" which automatically sets the desired dates. Is this feature still relevant? |
Relevant? Yes. Coming soon? Unfortunately no way. Too busy as a new dad :) |
do we have new update for this feature :( |
I would also love this feature. I've had trouble getting local linking working with yarn to test out some ideas, but my guess is that something like adding new customCalendarHeader/customCalendarFooter props to be used in renderCalendar would work.
|
Hi there!
Firstly, just want to say that I am loving this library, it's clear how much care and effort have been put into creating a great API.
I want to be able to add a clear selection button to the bottom of the calendar, seen in this design as "None"
I saw the closed issue about this wojtekmaj/react-calendar#167 where you said you weren't going to implement this, but also said "there are easy enough ways to add this button on your own if you need to".
I understand how to clear the input via controlled props, but how would I go about attaching my custom div to the bottom of the calendar?
The text was updated successfully, but these errors were encountered: