Skip to content

Commit 5ba9ca0

Browse files
authored
fix(ts): make useNext optional (#844)
1 parent ef8b3d6 commit 5ba9ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PagerView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class PagerViewInternal extends React.Component<NativeProps> {
225225
}
226226

227227
// Temporary solution. It should be removed once all things get fixed
228-
type PagerViewProps = Omit<NativeProps, 'useLegacy'> & { useNext: boolean };
228+
type PagerViewProps = Omit<NativeProps, 'useLegacy'> & { useNext?: boolean };
229229

230230
export const PagerView = React.forwardRef<PagerViewInternal, PagerViewProps>(
231231
(props, ref) => {

0 commit comments

Comments
 (0)