diff --git a/src/context.ts b/src/context.ts index 6678d64..557b9c7 100644 --- a/src/context.ts +++ b/src/context.ts @@ -16,7 +16,7 @@ interface DrawerContextValue { keyboardIsOpen: React.MutableRefObject; snapPointsOffset: number[] | null; snapPoints?: (number | string)[] | null; - activeSnapPointIndex?: number; + activeSnapPointIndex?: number | null; modal: boolean; shouldFade: boolean; activeSnapPoint?: number | string | null;