diff --git a/src/styles/utils/index.ts b/src/styles/utils/index.ts index c0ad7e8694c9..cbd466638d27 100644 --- a/src/styles/utils/index.ts +++ b/src/styles/utils/index.ts @@ -1290,6 +1290,9 @@ const createStyleUtils = (theme: ThemeColors, styles: ThemeStyles) => ({ }; }, + /* + * Returns styles for the text input container, with extraSpace allowing overflow without affecting the layout. + */ getAutoGrowWidthInputContainerStyles: (width: number, extraSpace: number): ViewStyle => { if (!!width && !!extraSpace) { return {marginRight: -extraSpace, width: width + extraSpace};