diff --git a/packages/extras/src/hooks/useKeyboard.ts b/packages/extras/src/hooks/useKeyboard.ts index 8e3278a8..8e84c60b 100644 --- a/packages/extras/src/hooks/useKeyboard.ts +++ b/packages/extras/src/hooks/useKeyboard.ts @@ -27,7 +27,12 @@ export const useKeyboard = (shouldHandleKeyboardEvents: boolean) => { const isKeyboardVisible = useSharedValue(false); const handleKeyboardEvent = useCallback( - (isVisible, height, duration, easing) => { + ( + isVisible: boolean, + height: number, + duration: number, + easing: KeyboardEventEasing, + ) => { const finalHeight = isVisible ? height : 0; const animationConfig = getKeyboardAnimationConfigs(easing, duration);