Skip to content

Commit

Permalink
feat: add initial scroll date for calender list
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajsoftyoi authored Oct 28, 2023
1 parent 567f3d1 commit 006c8db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/calendar/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export interface CalendarProps extends CalendarHeaderProps, DayProps {
style?: StyleProp<ViewStyle>;
/** Initially visible month */
current?: XDate;
/** Init scroll date */
initScrollDate?: XDate;
/** Minimum date that can be selected, dates before minDate will be grayed out */
minDate?: Date;
/** Maximum date that can be selected, dates after maxDate will be grayed out */
Expand Down Expand Up @@ -71,6 +73,8 @@ declare class Calendar extends Component<CalendarProps, CalendarState> {
style: PropTypes.Requireable<number | object>;
/** Initially visible month. Default = Date() */
current: PropTypes.Requireable<any>;
/** Initially Scroll month. Default = Date() */
initScrollDate: PropTypes.Requireable<any>;
/** Minimum date that can be selected, dates before minDate will be grayed out. Default = undefined */
minDate: PropTypes.Requireable<any>;
/** Maximum date that can be selected, dates after maxDate will be grayed out. Default = undefined */
Expand Down

0 comments on commit 006c8db

Please sign in to comment.