react-native-nepali-date-picker
Usage
This library is the date picker for nepali calendar. To use import the library as
; const App = <Calendar // defaultDateTimeValue value= // default value visibility=true // set the visibilty of the component onSelect= console // on each select by the user to a certain date onCancel= console // on press cancel thought not required //as user can handle is still can be useful as it gives you back the value you pass to it onChange= console // on press ok />;
The resulting value v for each function call back has property as:
- getYear: gives year in number
- getMonth: gives Month in number
- getDate: gives the date in number