File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 725725## Changed
726726- Disabling Detox e2e tests.
727727
728- ## [ 1.1267.0] - 2021-x-x
728+ ## [ 1.1267.0] - 2021-10-5
729729
730730## Fixed
731731- CalendarListItem - height issue (PR #1614 ).
734734- ExpandableCalendar - 'today' button bug (PR #1627 ).
735735- CalendarHeader - 'renderHeader' updates.
736736- Calendar - 'customHeader' ref.
737+ - CalendarList - fix types.
737738
738739## Added
739740- Calendar - 'allowSelectionOutOfRange' prop (PR #1618 ).
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const CALENDAR_HEIGHT = 360;
2525const PAST_SCROLL_RANGE = 50 ;
2626const FUTURE_SCROLL_RANGE = 50 ;
2727
28- interface Props extends CalendarProps , FlatListProps < any > {
28+ interface Props extends CalendarProps , Omit < FlatListProps < any > , 'data' | 'renderItem' > {
2929 /** Max amount of months allowed to scroll to the past. Default = 50 */
3030 pastScrollRange ?: number ;
3131 /** Max amount of months allowed to scroll to the future. Default = 50 */
@@ -60,7 +60,7 @@ interface Props extends CalendarProps, FlatListProps<any> {
6060 onEndReached ?: ( ) => void ;
6161 /** onLayout event */
6262 onLayout ?: ( event : LayoutChangeEvent ) => void ;
63- removeClippedSubviews : boolean ;
63+ removeClippedSubviews ? : boolean ;
6464}
6565export type CalendarListProps = Props ;
6666
You can’t perform that action at this time.
0 commit comments