react-calendar
react-calendar copied to clipboard
Feat: Pass any Props Down to Navigation Button
Summary
In our use case, we didn't want to have a clickable navigation label. This was easy to achieve via pointer-events: none but still a user can tab to this element and focus it. In a case like this, it's helpful to enable passing props through to the actual DOM element. This would also allow the developer to pass custom event listeners like onFocus or onMouseEnter.
Example usage
return (
<Calendar navigationButtonProps={{ tabIndex: '-1' }} />
);
Hey, @wojtekmaj do you have a minute to review this small PR? It's blocking me a bit and I would like to know if there's anything I should do in this PR to make it go into the next release.


@wojtekmaj Sorry to ping you again, but is there a chance you could look at this PR?
@wojtekmaj .
@wojtekmaj please :)

@wojtekmaj .
@wojtekmaj I will close this as it was ignored completely now for over two years. It's really a shame...