Skip to content

Commit d1bcff7

Browse files
Resolved merge conflicts after rebase
1 parent 3f4a336 commit d1bcff7

3 files changed

Lines changed: 0 additions & 140 deletions

File tree

src/components/MoneyRequestAmountInput.tsx

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ const defaultOnFormatAmount = (amount: number, currency?: string) => convertToFr
115115
/**
116116
* Specialized money amount input with currency and money amount formatting.
117117
*/
118-
<<<<<<< HEAD
119118
function MoneyRequestAmountInput(
120119
{
121120
amount = 0,
@@ -146,36 +145,6 @@ function MoneyRequestAmountInput(
146145
}: MoneyRequestAmountInputProps,
147146
forwardedRef: ForwardedRef<BaseTextInputRef>,
148147
) {
149-
=======
150-
function MoneyRequestAmountInput({
151-
amount = 0,
152-
currency = CONST.CURRENCY.USD,
153-
isCurrencyPressable = true,
154-
onCurrencyButtonPress,
155-
onAmountChange,
156-
prefixCharacter = '',
157-
hideCurrencySymbol = false,
158-
moneyRequestAmountInputRef,
159-
disableKeyboard = true,
160-
onFormatAmount = defaultOnFormatAmount,
161-
formatAmountOnBlur,
162-
maxLength,
163-
hideFocusedState = true,
164-
shouldKeepUserInput = false,
165-
shouldShowBigNumberPad = false,
166-
inputStyle,
167-
autoGrow = true,
168-
autoGrowExtraSpace,
169-
contentWidth,
170-
testID,
171-
submitBehavior,
172-
shouldApplyPaddingToContainer = false,
173-
shouldUseDefaultLineHeightForPrefix = true,
174-
shouldWrapInputInContainer = true,
175-
forwardedRef,
176-
...props
177-
}: MoneyRequestAmountInputProps) {
178-
>>>>>>> 6ddd1784ffe (Prettier run)
179148
const textInput = useRef<BaseTextInputRef | null>(null);
180149
const numberFormRef = useRef<NumberWithSymbolFormRef | null>(null);
181150
const decimals = getCurrencyDecimals(currency);

src/components/TextInput/BaseTextInput/implementation/index.native.tsx

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import isInputAutoFilled from '@libs/isInputAutoFilled';
2929
import variables from '@styles/variables';
3030
import CONST from '@src/CONST';
3131

32-
<<<<<<< HEAD
3332
function BaseTextInput(
3433
{
3534
label = '',
@@ -84,60 +83,6 @@ function BaseTextInput(
8483
}: BaseTextInputProps,
8584
ref: ForwardedRef<BaseTextInputRef>,
8685
) {
87-
=======
88-
function BaseTextInput({
89-
label = '',
90-
/**
91-
* To be able to function as either controlled or uncontrolled component we should not
92-
* assign a default prop value for `value` or `defaultValue` props
93-
*/
94-
value = undefined,
95-
defaultValue = undefined,
96-
placeholder = '',
97-
errorText = '',
98-
iconLeft = null,
99-
icon = null,
100-
textInputContainerStyles,
101-
shouldApplyPaddingToContainer = true,
102-
touchableInputWrapperStyle,
103-
containerStyles,
104-
inputStyle,
105-
shouldUseFullInputHeight = false,
106-
forceActiveLabel = false,
107-
disableKeyboard = false,
108-
autoGrow = false,
109-
autoGrowExtraSpace = 0,
110-
autoGrowMarginSide,
111-
autoGrowHeight = false,
112-
maxAutoGrowHeight,
113-
hideFocusedState = false,
114-
maxLength = undefined,
115-
hint = '',
116-
onInputChange = () => {},
117-
multiline = false,
118-
autoCorrect = true,
119-
prefixCharacter = '',
120-
suffixCharacter = '',
121-
inputID,
122-
type = 'default',
123-
excludedMarkdownStyles = [],
124-
shouldShowClearButton = false,
125-
shouldHideClearButton = true,
126-
prefixContainerStyle = [],
127-
prefixStyle = [],
128-
suffixContainerStyle = [],
129-
suffixStyle = [],
130-
contentWidth,
131-
loadingSpinnerStyle,
132-
uncontrolled,
133-
placeholderTextColor,
134-
onClearInput,
135-
iconContainerStyle,
136-
shouldUseDefaultLineHeightForPrefix = true,
137-
ref,
138-
...props
139-
}: BaseTextInputProps) {
140-
>>>>>>> 7acd72ff71c (Prettier run)
14186
const InputComponent = InputComponentMap.get(type) ?? RNTextInput;
14287
const isMarkdownEnabled = type === 'markdown';
14388
const isAutoGrowHeightMarkdown = isMarkdownEnabled && autoGrowHeight;

src/components/TextInput/BaseTextInput/implementation/index.tsx

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import isInputAutoFilled from '@libs/isInputAutoFilled';
3232
import variables from '@styles/variables';
3333
import CONST from '@src/CONST';
3434

35-
<<<<<<< HEAD
3635
function BaseTextInput(
3736
{
3837
label = '',
@@ -86,59 +85,6 @@ function BaseTextInput(
8685
}: BaseTextInputProps,
8786
ref: ForwardedRef<BaseTextInputRef>,
8887
) {
89-
=======
90-
function BaseTextInput({
91-
label = '',
92-
/**
93-
* To be able to function as either controlled or uncontrolled component we should not
94-
* assign a default prop value for `value` or `defaultValue` props
95-
*/
96-
value = undefined,
97-
defaultValue = undefined,
98-
placeholder = '',
99-
errorText = '',
100-
icon = null,
101-
iconLeft = null,
102-
textInputContainerStyles,
103-
shouldApplyPaddingToContainer = true,
104-
touchableInputWrapperStyle,
105-
containerStyles,
106-
inputStyle,
107-
forceActiveLabel = false,
108-
disableKeyboard = false,
109-
autoGrow = false,
110-
autoGrowHeight = false,
111-
maxAutoGrowHeight,
112-
hideFocusedState = false,
113-
maxLength = undefined,
114-
hint = '',
115-
onInputChange = () => {},
116-
multiline = false,
117-
shouldInterceptSwipe = false,
118-
autoCorrect = true,
119-
prefixCharacter = '',
120-
suffixCharacter = '',
121-
inputID,
122-
type = 'default',
123-
excludedMarkdownStyles = [],
124-
shouldShowClearButton = false,
125-
shouldHideClearButton = true,
126-
shouldUseDisabledStyles = true,
127-
prefixContainerStyle = [],
128-
prefixStyle = [],
129-
suffixContainerStyle = [],
130-
suffixStyle = [],
131-
contentWidth,
132-
loadingSpinnerStyle,
133-
uncontrolled = false,
134-
placeholderTextColor,
135-
onClearInput,
136-
iconContainerStyle,
137-
shouldUseDefaultLineHeightForPrefix = true,
138-
ref,
139-
...inputProps
140-
}: BaseTextInputProps) {
141-
>>>>>>> 7acd72ff71c (Prettier run)
14288
const InputComponent = InputComponentMap.get(type) ?? RNTextInput;
14389
const isMarkdownEnabled = type === 'markdown';
14490
const isAutoGrowHeightMarkdown = isMarkdownEnabled && autoGrowHeight;

0 commit comments

Comments
 (0)