@tarojsx/ui
Version:
We reinvents the UI for Taro3+
26 lines (25 loc) • 920 B
TypeScript
import React from 'react';
import '../../style/Calendar.scss';
import { AtCalendarDefaultProps, AtCalendarProps, AtCalendarState } from 'taro-ui/types/calendar';
export { AtCalendarProps as CalendarProps } from 'taro-ui/types/calendar';
/**
* @ignore
*/
export declare class Calendar extends React.Component<AtCalendarProps, Readonly<AtCalendarState>> {
static defaultProps: AtCalendarDefaultProps;
constructor(props: AtCalendarProps);
UNSAFE_componentWillReceiveProps(nextProps: AtCalendarProps): void;
private getSingleSelectdState;
private getMultiSelectedState;
private getSelectedDate;
private getInitializeState;
private triggerChangeDate;
private setMonth;
private handleClickPreMonth;
private handleClickNextMonth;
private handleSelectDate;
private handleDayClick;
private handleSelectedDate;
private handleDayLongClick;
render(): JSX.Element;
}