taro-calendar
Version:
taro calendar component
38 lines (21 loc) • 525 B
text/typescript
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
}