File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 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