0.9.11 • Published 4 years ago

@miidx/rn-simple-date-time-picker v0.9.11

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

moment-format-url: https://momentjs.com/docs/#/displaying/

rn-simple-date-time-picker

Usage

    <SimpleDateTimePicker  
        animationType="fade"
        label="Due Time"
        onDateSelected={(value) => this.setState({ dueTime: value }) }
    />

Properties

NameDescriptionTypeRequiredDefault Value
animationTypeAnimation type when opening drop down. fade or sliede (IOS Only)Stringfade
labelPicker labelString
errorError message to be shownString
disabledSet the control to disabled modebooleanfalse
cancelCaptionCaption for cancel buttonStringCancel
okCaptionCaption for OK buttonStringOK
enabledColorColor for the control when in enabled modeString#2f2f2f
disabledColorColor for the control when in disabled modeString#8C8C8C
formatFormat to display selected date/time. See moment.js formatStringISO 8601 format
modedate or datetimeStringdatetime
selectedDateSet selected date/time value in ISO 8601 formatstring
initialDateSelectionWhen selectedDate is empty and user tap the control, pre-selected date/time will be set to this props. The date/time value is in ISO 8601 formatstring
onDateTimeSelectedCallback when user select a date/timefunction
0.9.11

4 years ago

0.9.9

4 years ago

0.9.10

4 years ago

0.9.8

5 years ago

0.9.7

5 years ago

0.9.6

5 years ago

0.9.5

5 years ago

0.9.4

5 years ago

0.9.3

5 years ago

0.9.2

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago