Skip to content

tsjing/tsjing-date-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsjing-date-picker

React Native DatePicker for iOS and Android

Installation

npm i --save --save-exact tsjing-date-picker

Properties

Note: all timestamps are ms-based

Property Type Description
value Number (timestamp) Current date value of the date picker
minDate Number (timestamp) Minimum date that can be selected
maxDate Number (timestamp) Maximum date that can be selected
mode String iOS only: 'date', 'time' or 'datetime'
onDateChange Function Fires when the selected date changed, param: datetime as timestamp
textFieldStyle Object Additional styling for the input box
initialDate Number (timestamp) Initial date
spinnerMode Boolean Android only: shows the calendar as a spinner

Todo

  • More testing
  • Placeholders
  • Examples

Tsjing logo

About

React Native DatePicker for iOS and Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published