import InlineDatePicker from 'react-ios-component/src/components/picker/InlineDatePicker.js'
InlineDatePicker
Extends:
react~Component → InlineDatePicker
內联日期选择器
Constructor Summary
Public Constructor | ||
public |
constructor(props: Object, context: Object) 构造函数 |
Public Constructors
public constructor(props: Object, context: Object) source
构造函数
Params:
Name | Type | Attribute | Description |
props | Object | 组件所使用的属性 |
|
props.selectedDate | Date |
|
Date()] 当前选中的日期 |
props.minDate | Date |
|
Date()] 最小可选择的日期 |
props.maxDate | Date |
|
Date()] 最大可选择的日期 |
props.yearUnit | string |
|
年份的单位文案 |
props.monthUnit | string |
|
月份的单位文案 |
props.dateUnit | string |
|
天的单位文案 |
props.onChange | function | 选中某一个项时触发的函数回调 |
|
context | Object |