rmc-date-picker
- Version 6.0.10
- Published
- 64.4 kB
- 2 dependencies
- MIT license
Install
npm i rmc-date-picker
yarn add rmc-date-picker
pnpm add rmc-date-picker
Overview
React Mobile DatePicker Component for web and react-native
Index
Classes
DatePicker
- clipDate()
- componentWillReceiveProps()
- defaultMaxDate
- defaultMinDate
- defaultProps
- getDate()
- getDateData()
- getDefaultMaxDate()
- getDefaultMinDate()
- getDisplayHour()
- getMaxDate()
- getMaxDay()
- getMaxHour()
- getMaxMinute()
- getMaxMonth()
- getMaxYear()
- getMinDate()
- getMinDay()
- getMinHour()
- getMinMinute()
- getMinMonth()
- getMinYear()
- getNewDate
- getTimeData()
- getValue()
- getValueCols()
- onScrollChange
- onValueChange
- render()
- setAmPm()
- setHours()
- state
Classes
class DatePicker
class DatePicker extends React.Component<IDatePickerProps, any> {}
property defaultMaxDate
defaultMaxDate: any;
property defaultMinDate
defaultMinDate: any;
property defaultProps
static defaultProps: { prefixCls: string; pickerPrefixCls: string; locale: { year: string; month: string; day: string; hour: string; minute: string; am: string; pm: string; }; mode: string; disabled: boolean; minuteStep: number; onDateChange(): void; use12Hours: boolean;};
property getNewDate
getNewDate: (values: any, index: any) => any;
property onScrollChange
onScrollChange: (values: any, index: any) => void;
property onValueChange
onValueChange: (values: any, index: any) => void;
property state
state: { date: any };
method clipDate
clipDate: (date: any) => any;
method componentWillReceiveProps
componentWillReceiveProps: (nextProps: any) => void;
method getDate
getDate: () => any;
method getDateData
getDateData: () => { key: string; props: { children: any[] } }[];
method getDefaultMaxDate
getDefaultMaxDate: () => any;
method getDefaultMinDate
getDefaultMinDate: () => any;
method getDisplayHour
getDisplayHour: (rawHour: any) => any;
method getMaxDate
getMaxDate: () => any;
method getMaxDay
getMaxDay: () => any;
method getMaxHour
getMaxHour: () => any;
method getMaxMinute
getMaxMinute: () => any;
method getMaxMonth
getMaxMonth: () => any;
method getMaxYear
getMaxYear: () => any;
method getMinDate
getMinDate: () => any;
method getMinDay
getMinDay: () => any;
method getMinHour
getMinHour: () => any;
method getMinMinute
getMinMinute: () => any;
method getMinMonth
getMinMonth: () => any;
method getMinYear
getMinYear: () => any;
method getTimeData
getTimeData: (date: any) => { cols: { key: string; props: { children: any[] } }[]; selMinute: any;};
method getValue
getValue: () => any;
method getValueCols
getValueCols: () => { value: any[]; cols: any[] };
method render
render: () => JSX.Element;
method setAmPm
setAmPm: (date: any, index: any) => void;
method setHours
setHours: (date: any, hour: any) => void;
Package Files (2)
Dependencies (2)
Dev Dependencies (15)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/rmc-date-picker
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/rmc-date-picker)
- HTML<a href="https://www.jsdocs.io/package/rmc-date-picker"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 4128 ms. - Missing or incorrect documentation? Open an issue for this package.