chowa
Version:
UI component library based on React
32 lines (31 loc) • 1 kB
TypeScript
/**
* @license chowa v1.1.3
*
* Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import * as React from 'react';
import * as moment from 'moment';
import { Mode } from '../calendar-mode';
import { DisabledDate, RangeDate } from '../tool';
export interface MinBodyProps {
mode: Mode;
defaultMode: Mode;
values: moment.Moment[];
time: moment.Moment;
each: moment.Moment;
display: moment.Moment;
onDateSelect: (month: moment.Moment) => void;
onDateBeforeSelect?: (mom: moment.Moment) => void;
onMonthSelect: (month: moment.Moment) => void;
onYearSelect: (month: moment.Moment) => void;
onTimeSelect: (month: moment.Moment) => void;
disabledDate: DisabledDate;
rangeDate: RangeDate;
weeksable: boolean;
secondable: boolean;
}
declare const MinBody: React.SFC<MinBodyProps>;
export default MinBody;