I have create CustomDatePicker.JS
file for datePicker, for Android use the DatePickerAndroid
and for ios use DatePickerIOS
, and its use in my another Profile.js
file. I use like below.
<CustomDatePicker ref='modal'></CustomDatePicker>
Now whenever will select the date, CustomDatePicker.JS
class get the value but I want to the date value in Profile.js
. So how can get date value in profile.
CustomDatePicker.JS
: Here Will get date and time log.
Profile.js
: Want to date which is selected on CustomDatePicker.
I hope, You are underStand...
Thanks.