christopherdro / christopherdro/react-native-calendar

how to set `currentMonth` on some button click

Open
#176 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
536
Forks
233
PR merge metrics
No merged PRs in 30d

Description

Hi,

I would like to change `currentMonth` of calendar on some button click.

is that something possible that, using ref, it can allow to set currentMonth properties on some button click?
``

after that using below code, it's currentMonth can be set.

`this.refs._Calendar.currentMonth = (date).format('YYYY-MM-DD');`

Kindly advise

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.