From c37687b4430d36f4b14fb946973acabbf8e3cb8f Mon Sep 17 00:00:00 2001 From: Gerardo Date: Mon, 3 Apr 2023 17:22:31 +0200 Subject: [PATCH] Mobile - useScrollToTextInput: Remove dash --- .../use-scroll-to-text-input.native.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/src/mobile/keyboard-aware-flat-list/use-scroll-to-text-input.native.js b/packages/components/src/mobile/keyboard-aware-flat-list/use-scroll-to-text-input.native.js index abf34d58148f2..3bdaba837a60b 100644 --- a/packages/components/src/mobile/keyboard-aware-flat-list/use-scroll-to-text-input.native.js +++ b/packages/components/src/mobile/keyboard-aware-flat-list/use-scroll-to-text-input.native.js @@ -39,10 +39,10 @@ export default function useScrollToTextInput( /** * Function to scroll to the current TextInput's offset. * - * @param {Object} caret - The caret position data of the currently focused TextInput. - * @param {number} caret.caretHeight - The height of the caret. - * @param {number} textInputOffset - The offset calculated with the caret's Y coordinate + the - * - TextInput's Y coord or height value. + * @param {Object} caret The caret position data of the currently focused TextInput. + * @param {number} caret.caretHeight The height of the caret. + * @param {number} textInputOffset The offset calculated with the caret's Y coordinate + the + * TextInput's Y coord or height value. */ const scrollToTextInputOffset = useCallback( ( caret, textInputOffset ) => {