File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export const getFilledTextFieldData = (
7474 // CONSTANTS
7575 // =======================
7676
77- const { isRTL } = I18nManager ;
77+ const { isRTL } = I18nManager . getConstants ( ) ;
7878
7979 // =======================
8080 // THEME TOKENS
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export const useTextField = (props: TextFieldProps) => {
6060 // CONSTANTS
6161 // =======================
6262
63- const { isRTL } = I18nManager ;
63+ const { isRTL } = I18nManager . getConstants ( ) ;
6464 const disabled = props . editable === false || props . status === 'disabled' ;
6565 const isFloating = isFocused || ! ! props . value ;
6666 const hasAccessory = isRTL ? ! ! props . EndAccessory : ! ! props . StartAccessory ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import {
1212// LAYOUT SUPPORT
1313// ==================
1414
15- const isRTL = I18nManager . isRTL ;
15+ const isRTL = I18nManager . getConstants ( ) . isRTL ;
1616const layoutSupportMultiplier = isRTL ? - 1 : 1 ;
1717
1818// ==================
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export const getOutlinedTextFieldData = (
6363 // CONSTANTS
6464 // =======================
6565
66- const { isRTL } = I18nManager ;
66+ const { isRTL } = I18nManager . getConstants ( ) ;
6767
6868 // =======================
6969 // THEME TOKENS
You can’t perform that action at this time.
0 commit comments