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

onChangeDate is not work #1075

Open
Tocchizawa opened this issue Jul 29, 2024 · 0 comments
Open

onChangeDate is not work #1075

Tocchizawa opened this issue Jul 29, 2024 · 0 comments

Comments

@Tocchizawa
Copy link

Hello

If the onChangeDate event is not working, ensure that the Calendar component from react-native-big-calendar supports this prop and that it is correctly implemented. You might need to check the documentation or source code of the react-native-big-calendar library to confirm this.

return (
  <>
    <Calendar
      locale="ja"
      events={events}
      height={safeAreaHeight}
      mode="week"
      onChangeDate={([start, end]) => {
        console.log(`Date range changed: Start - ${start}, End - ${end}`);
      }}
    />
  </>
);

I was wondering if you could help me.

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

No branches or pull requests

1 participant