Closed marketmix-matteoquintero closed 4 years ago
This would be a helpful addition to the documentation. PRs are welcome.
Hi,
Quick snack here!
https://snack.expo.io/S1YlKFa9H
Hope this helps.
Edit: You can use Moment JS to format the returned date :)
Thanks for the snack @usmanf8c
@marketmix-matteoquintero Usually the best way to get the selected date is through the onDateSelected
callback.
https://github.com/BugiDev/react-native-calendar-strip/issues/155#issuecomment-548364620
@peacechen - I thought the same. onDateSelected
does return the selected date, but I thought I'd stick to the topic and draft up a snack using the getSelectedDate()
method. Hope it helped @marketmix-matteoquintero .
I am new to react, someone can help me with showing an example of how to use the function.
getSelectedDate()
Please and thank you. @BugiDev