UNPKG

yqcloud-ui

Version:

An enterprise-class UI design language and React-based implementation

24 lines (23 loc) 825 B
/// <reference types="react" /> import * as React from 'react'; import * as moment from 'moment'; export default class WeekPicker extends React.Component<any, any> { static defaultProps: { format: string; allowClear: boolean; }; private input; private picker; constructor(props: any); componentWillReceiveProps(nextProps: any): void; weekDateRender: (current: any) => JSX.Element; handleOpenChange: (status: boolean) => void; handleChange: (value: moment.Moment | null) => void; clearSelection: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void; onPickerIconClick: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void; focus(): void; blur(): void; saveInput: (node: any) => void; savePicker: (node: any) => void; render(): JSX.Element; }