From 73f13932dc92169705949c73e4f13af0795ee601 Mon Sep 17 00:00:00 2001 From: Jan Vincent Liwanag Date: Wed, 10 Jul 2024 16:33:57 +0800 Subject: [PATCH] Make useNext optional --- src/PagerView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PagerView.tsx b/src/PagerView.tsx index 62faa749..79e36d50 100644 --- a/src/PagerView.tsx +++ b/src/PagerView.tsx @@ -225,7 +225,7 @@ class PagerViewInternal extends React.Component { } // Temporary solution. It should be removed once all things get fixed -type PagerViewProps = Omit & { useNext: boolean }; +type PagerViewProps = Omit & { useNext?: boolean }; export const PagerView = React.forwardRef( (props, ref) => {