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

type ReactDatePickerCustomHeaderProps is no longer exported #4906

Closed
adrianaferrugento opened this issue Jun 17, 2024 · 1 comment · Fixed by #4931
Closed

type ReactDatePickerCustomHeaderProps is no longer exported #4906

adrianaferrugento opened this issue Jun 17, 2024 · 1 comment · Fixed by #4931

Comments

@adrianaferrugento
Copy link

Describe the bug
I can no longer access the type of the custom header props, is this expected? I couldn't find anything in the breaking changes list.

To Reproduce
import the type ReactDatePickerCustomHeaderProps

Expected behavior
Type is exported

@JanStevens
Copy link

Workaround

import type { ReactDatePickerCustomHeaderProps } from 'react-datepicker/dist/calendar.d.ts';

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

Successfully merging a pull request may close this issue.

2 participants