UNPKG

chowa

Version:

UI component library based on React

25 lines (24 loc) 902 B
/** * @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 { OmitProps } from '../utils'; import { BasePickerProps } from './base-picker'; import MonthPicker from './month-picker'; import YearPicker from './year-picker'; import RangePicker from './range-picker'; import WeekPicker from './week-picker'; export declare type DatePickerProps = OmitProps<BasePickerProps, 'prefix' | 'mode' | 'weeksable'>; export interface DatePickerInterface { MonthPicker: typeof MonthPicker; YearPicker: typeof YearPicker; RangePicker: typeof RangePicker; WeekPicker: typeof WeekPicker; } declare const DatePicker: React.SFC<DatePickerProps> & DatePickerInterface; export default DatePicker;