UNPKG

taro-calendar

Version:
38 lines (21 loc) 525 B
import { DefaultProps as _DefaultProps } from '../interface' export type ListGroup = Array<List<Item>> export interface Props { format: string marks: Array<Mark> isSwiper: boolean minDate?: DateArg maxDate?: DateArg isVertical: boolean generateDate: DateArg selectedDate: DateArg onPreMonth: () => void onNextMonth: () => void onClick: (item: Item) => void onLongClick: (item: Item) => void } export interface State { isAnimate: boolean offsetSize: number listGroup: ListGroup }