ordering-ui-react-native 0.22.47-map → 0.22.47-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/themes/business/src/components/AcceptOrRejectOrder/index.tsx +4 -3
- package/themes/business/src/components/NewOrderNotification/index.tsx +3 -4
- package/themes/business/src/components/OrderDetails/Delivery.tsx +14 -2
- package/themes/business/src/components/OrderDetails/OrderContentComponent.tsx +9 -9
- package/themes/business/src/types/index.tsx +1 -0
- package/themes/original/src/components/AddressForm/index.tsx +10 -12
- package/themes/original/src/components/AddressList/index.tsx +0 -13
- package/themes/original/src/components/BusinessItemAccordion/index.tsx +4 -2
- package/themes/original/src/components/BusinessListingSearch/BusinessSearchHeader.tsx +1 -3
- package/themes/original/src/components/BusinessListingSearch/index.tsx +1 -2
- package/themes/original/src/components/BusinessPreorder/index.tsx +20 -17
- package/themes/original/src/components/Cart/index.tsx +1 -2
- package/themes/original/src/components/CartContent/index.tsx +1 -2
- package/themes/original/src/components/Checkout/index.tsx +29 -17
- package/themes/original/src/components/CitiesControl/index.tsx +0 -3
- package/themes/original/src/components/CouponControl/index.tsx +1 -3
- package/themes/original/src/components/DriverTips/index.tsx +1 -3
- package/themes/original/src/components/Favorite/index.tsx +0 -5
- package/themes/original/src/components/FavoriteList/index.tsx +0 -1
- package/themes/original/src/components/ForgotPasswordForm/index.tsx +4 -10
- package/themes/original/src/components/GiftCard/GiftCardUI/index.tsx +15 -17
- package/themes/original/src/components/GiftCard/PurchaseGiftCard/index.tsx +3 -7
- package/themes/original/src/components/GiftCard/RedeemGiftCard/index.tsx +24 -32
- package/themes/original/src/components/GiftCard/SendGiftCard/index.tsx +7 -9
- package/themes/original/src/components/GiftCard/VerticalGiftCardOrdersLayout/index.tsx +11 -12
- package/themes/original/src/components/GoogleMap/index.tsx +4 -3
- package/themes/original/src/components/Help/index.tsx +0 -5
- package/themes/original/src/components/HelpAccountAndPayment/index.tsx +0 -5
- package/themes/original/src/components/HelpGuide/index.tsx +0 -5
- package/themes/original/src/components/HelpOrder/index.tsx +0 -5
- package/themes/original/src/components/Home/index.tsx +1 -10
- package/themes/original/src/components/LoginForm/Otp/index.tsx +0 -3
- package/themes/original/src/components/LoginForm/index.tsx +1 -9
- package/themes/original/src/components/MessageListing/index.tsx +0 -5
- package/themes/original/src/components/MomentOption/index.tsx +6 -10
- package/themes/original/src/components/MultiCartsPaymethodsAndWallets/index.tsx +1 -0
- package/themes/original/src/components/MultiCheckout/index.tsx +0 -1
- package/themes/original/src/components/MultiOrdersDetails/index.tsx +1 -0
- package/themes/original/src/components/MyOrders/index.tsx +0 -5
- package/themes/original/src/components/NavBar/index.tsx +1 -4
- package/themes/original/src/components/NetworkError/index.tsx +0 -5
- package/themes/original/src/components/NotFoundSource/index.tsx +0 -3
- package/themes/original/src/components/Notifications/index.tsx +0 -5
- package/themes/original/src/components/OrderDetails/OrderHistory.tsx +5 -7
- package/themes/original/src/components/OrderDetails/index.tsx +1 -2
- package/themes/original/src/components/OrderTypeSelector/index.tsx +3 -8
- package/themes/original/src/components/PaymentOptionStripe/index.tsx +0 -5
- package/themes/original/src/components/PaymentOptions/index.tsx +0 -2
- package/themes/original/src/components/PlaceSpot/index.tsx +1 -3
- package/themes/original/src/components/PreviousOrders/index.tsx +1 -4
- package/themes/original/src/components/ProductForm/ActionButton.tsx +4 -5
- package/themes/original/src/components/ProductOptionSubOption/index.tsx +8 -1
- package/themes/original/src/components/ProfessionalProfile/index.tsx +4 -5
- package/themes/original/src/components/Promotions/index.tsx +2 -7
- package/themes/original/src/components/ReviewDriver/index.tsx +1 -6
- package/themes/original/src/components/ReviewOrder/index.tsx +2 -7
- package/themes/original/src/components/ReviewProducts/index.tsx +1 -6
- package/themes/original/src/components/ReviewTrigger/index.tsx +2 -2
- package/themes/original/src/components/ServiceForm/index.tsx +52 -54
- package/themes/original/src/components/Sessions/index.tsx +3 -8
- package/themes/original/src/components/SignupForm/index.tsx +4 -13
- package/themes/original/src/components/SingleOrderCard/index.tsx +0 -1
- package/themes/original/src/components/SingleProductCard/index.tsx +2 -2
- package/themes/original/src/components/StripeCardForm/index.tsx +0 -3
- package/themes/original/src/components/StripeCardsList/index.tsx +9 -1
- package/themes/original/src/components/StripeElementsForm/index.tsx +4 -2
- package/themes/original/src/components/StripeRedirectForm/index.tsx +0 -3
- package/themes/original/src/components/UpsellingProducts/UpsellingContent.tsx +1 -3
- package/themes/original/src/components/UserFormDetails/index.tsx +8 -10
- package/themes/original/src/components/UserProfileForm/index.tsx +0 -5
- package/themes/original/src/components/Wallets/index.tsx +1 -3
- package/themes/original/src/components/WebsocketStatus/index.tsx +1 -4
- package/themes/original/src/components/shared/OButton.tsx +3 -2
- package/themes/original/src/types/index.tsx +2 -1
|
@@ -72,11 +72,6 @@ export const SessionsUI = (props: SessionsParams) => {
|
|
|
72
72
|
showCall={false}
|
|
73
73
|
paddingTop={10}
|
|
74
74
|
btnStyle={{ paddingLeft: 0 }}
|
|
75
|
-
buttonProps={{
|
|
76
|
-
bgColor: theme.colors.white,
|
|
77
|
-
borderColor: theme.colors.white,
|
|
78
|
-
textStyle: { color: theme.colors.btnFont }
|
|
79
|
-
}}
|
|
80
75
|
/>
|
|
81
76
|
{user?.session_strategy === 'jwt_session' ? (
|
|
82
77
|
<>
|
|
@@ -116,14 +111,14 @@ export const SessionsUI = (props: SessionsParams) => {
|
|
|
116
111
|
<OButton
|
|
117
112
|
text={t('DELETE_ALL_SESSIONS', 'Delete all sessions')}
|
|
118
113
|
isDisabled={actionState.loading}
|
|
119
|
-
textStyle={{
|
|
114
|
+
textStyle={{ fontSize: 14 }}
|
|
120
115
|
onClick={() => onDeleteAllSessions(false, true)}
|
|
121
116
|
style={{ borderRadius: 7.6, marginTop: 30 }}
|
|
122
117
|
/>
|
|
123
118
|
<OButton
|
|
124
119
|
text={t('DELETE_ALL_SESSIONS_EXCEPT_CURRENT', 'Delete all sessions except current')}
|
|
125
120
|
isDisabled={actionState.loading}
|
|
126
|
-
textStyle={{
|
|
121
|
+
textStyle={{ fontSize: 14 }}
|
|
127
122
|
onClick={() => onDeleteAllSessions(false, false)}
|
|
128
123
|
style={{ borderRadius: 7.6, marginTop: 20 }}
|
|
129
124
|
/>
|
|
@@ -141,7 +136,7 @@ export const SessionsUI = (props: SessionsParams) => {
|
|
|
141
136
|
<OButton
|
|
142
137
|
text={t('ACTIVE_SESSIONS', 'Active sessions')}
|
|
143
138
|
isDisabled={actionState.loading}
|
|
144
|
-
textStyle={{
|
|
139
|
+
textStyle={{ fontSize: 14 }}
|
|
145
140
|
onClick={() => onDeleteAllSessions(true, false)}
|
|
146
141
|
style={{ borderRadius: 7.6, marginTop: 20 }}
|
|
147
142
|
/>
|
|
@@ -488,11 +488,6 @@ const SignupFormUI = (props: SignupParams) => {
|
|
|
488
488
|
btnStyle={{ paddingLeft: 0 }}
|
|
489
489
|
titleWrapStyle={{ paddingHorizontal: 0 }}
|
|
490
490
|
titleStyle={{ marginLeft: 0, marginRight: 0 }}
|
|
491
|
-
buttonProps={{
|
|
492
|
-
bgColor: theme.colors.white,
|
|
493
|
-
borderColor: theme.colors.white,
|
|
494
|
-
textStyle: { color: theme.colors.btnFont }
|
|
495
|
-
}}
|
|
496
491
|
/>
|
|
497
492
|
)}
|
|
498
493
|
<FormSide>
|
|
@@ -794,9 +789,9 @@ const SignupFormUI = (props: SignupParams) => {
|
|
|
794
789
|
<OButton
|
|
795
790
|
imgRightSrc={null}
|
|
796
791
|
text={t('TERMS_AND_CONDITIONS', 'Terms & Conditions')}
|
|
797
|
-
bgColor=
|
|
798
|
-
borderColor=
|
|
799
|
-
style={{ paddingLeft: 0, paddingRight: 0, height: 30, shadowColor:
|
|
792
|
+
bgColor={theme.colors.white}
|
|
793
|
+
borderColor={theme.colors.white}
|
|
794
|
+
style={{ paddingLeft: 0, paddingRight: 0, height: 30, shadowColor: theme.colors.white }}
|
|
800
795
|
textStyle={{ color: theme.colors.primary, marginLeft: 0, marginRight: 0 }}
|
|
801
796
|
onClick={() => handleOpenTermsUrl(configs?.terms_and_conditions_url?.value)}
|
|
802
797
|
/>
|
|
@@ -840,6 +835,7 @@ const SignupFormUI = (props: SignupParams) => {
|
|
|
840
835
|
/>
|
|
841
836
|
)
|
|
842
837
|
}
|
|
838
|
+
autoCapitalize='none'
|
|
843
839
|
value={value}
|
|
844
840
|
onChange={(val: any) => onChange(val)}
|
|
845
841
|
returnKeyType="done"
|
|
@@ -881,9 +877,7 @@ const SignupFormUI = (props: SignupParams) => {
|
|
|
881
877
|
<OButton
|
|
882
878
|
onClick={handleSubmit(onSubmit)}
|
|
883
879
|
text={t('GET_VERIFY_CODE', 'Get Verify Code')}
|
|
884
|
-
borderColor={theme.colors.primary}
|
|
885
880
|
imgRightSrc={null}
|
|
886
|
-
textStyle={{ color: 'white' }}
|
|
887
881
|
isLoading={isLoadingVerifyModal}
|
|
888
882
|
indicatorColor={theme.colors.white}
|
|
889
883
|
style={{ borderRadius: 7.6, marginTop: 6 }}
|
|
@@ -892,9 +886,6 @@ const SignupFormUI = (props: SignupParams) => {
|
|
|
892
886
|
<OButton
|
|
893
887
|
onClick={handleSubmit(onSubmit)}
|
|
894
888
|
text={signupButtonText}
|
|
895
|
-
bgColor={theme.colors.primary}
|
|
896
|
-
borderColor={theme.colors.primary}
|
|
897
|
-
textStyle={{ color: 'white' }}
|
|
898
889
|
imgRightSrc={null}
|
|
899
890
|
isDisabled={formState.loading || validationFields.loading}
|
|
900
891
|
style={{ borderRadius: 7.6, marginTop: 6, shadowOpacity: 0 }}
|
|
@@ -315,8 +315,8 @@ const SingleProductCardUI = React.memo((props: SingleProductCardParams) => {
|
|
|
315
315
|
|
|
316
316
|
}}
|
|
317
317
|
bgColor={isSoldOut ? '#B8B8B8' : theme?.colors?.white}
|
|
318
|
-
borderColor={theme?.colors
|
|
319
|
-
textStyle={{ color: theme
|
|
318
|
+
borderColor={isSoldOut ? '#B8B8B8' : theme?.colors?.white}
|
|
319
|
+
textStyle={{ color: isSoldOut ? theme?.colors?.white : theme?.colors?.primary }}
|
|
320
320
|
text={t('ADD', 'Add')}
|
|
321
321
|
/>
|
|
322
322
|
)}
|
|
@@ -65,9 +65,6 @@ const StripeCardFormUI = (props: any) => {
|
|
|
65
65
|
<OButton
|
|
66
66
|
text={loading ? t('LOADING', 'Loading...') : t('ADD', 'Add')}
|
|
67
67
|
isDisabled={!cardState?.valid || loading}
|
|
68
|
-
bgColor={theme.colors.primary}
|
|
69
|
-
borderColor={theme.colors.primary}
|
|
70
|
-
textStyle={{ color: 'white' }}
|
|
71
68
|
imgRightSrc={null}
|
|
72
69
|
onClick={handleSubmit}
|
|
73
70
|
/>
|
|
@@ -31,7 +31,9 @@ export const StripeCardsListUI = (props: any) => {
|
|
|
31
31
|
handleCardClick,
|
|
32
32
|
onOpen,
|
|
33
33
|
gateway,
|
|
34
|
-
paySelected
|
|
34
|
+
paySelected,
|
|
35
|
+
newCardAdded,
|
|
36
|
+
addNewCardAsDefault
|
|
35
37
|
} = props;
|
|
36
38
|
|
|
37
39
|
const theme = useTheme();
|
|
@@ -55,6 +57,12 @@ export const StripeCardsListUI = (props: any) => {
|
|
|
55
57
|
}
|
|
56
58
|
}, [cardsList?.loading])
|
|
57
59
|
|
|
60
|
+
useEffect(() => {
|
|
61
|
+
if (newCardAdded && addNewCardAsDefault){
|
|
62
|
+
handleCardSelected(newCardAdded)
|
|
63
|
+
}
|
|
64
|
+
}, [JSON.stringify(newCardAdded)])
|
|
65
|
+
|
|
58
66
|
return (
|
|
59
67
|
<>
|
|
60
68
|
{token && !cardsList.loading && cardsList.cards && cardsList.cards.length === 0 && (
|
|
@@ -151,7 +151,10 @@ const StripeElementsFormUI = (props: any) => {
|
|
|
151
151
|
const _isNewCard = index === 0
|
|
152
152
|
stripeTokenHandler(setupIntent?.paymentMethodId, user, businessId, _isNewCard);
|
|
153
153
|
})
|
|
154
|
-
setNewCardAdded(
|
|
154
|
+
setNewCardAdded?.({
|
|
155
|
+
...card,
|
|
156
|
+
id: setupIntent?.paymentMethodId
|
|
157
|
+
})
|
|
155
158
|
} else {
|
|
156
159
|
stripeTokenHandler(setupIntent?.paymentMethodId, user, businessId);
|
|
157
160
|
}
|
|
@@ -284,7 +287,6 @@ const StripeElementsFormUI = (props: any) => {
|
|
|
284
287
|
bgColor={isCompleted ? theme.colors.primary : theme.colors.backgroundGray}
|
|
285
288
|
borderColor={isCompleted ? theme.colors.primary : theme.colors.backgroundGray}
|
|
286
289
|
style={styles.btnAddStyle}
|
|
287
|
-
textStyle={{ color: 'white' }}
|
|
288
290
|
imgRightSrc={null}
|
|
289
291
|
onClick={() => handleSaveCard()}
|
|
290
292
|
isDisabled={!isCompleted}
|
|
@@ -138,9 +138,6 @@ const StripeRedirectFormUI = (props: any) => {
|
|
|
138
138
|
<OButton
|
|
139
139
|
// text={formState.isSubmitting ? t('LOADING', 'Loading...') : t('OK', 'OK')}
|
|
140
140
|
text={t('OK', 'OK')}
|
|
141
|
-
bgColor={theme.colors.primary}
|
|
142
|
-
borderColor={theme.colors.primary}
|
|
143
|
-
textStyle={{ color: 'white' }}
|
|
144
141
|
imgRightSrc={null}
|
|
145
142
|
// isDisabled={formState.isSubmitting}
|
|
146
143
|
// onClick={() => handleSubmit(onSubmit)}
|
|
@@ -158,9 +158,7 @@ export const UpsellingContent = (props: any) => {
|
|
|
158
158
|
<OButton
|
|
159
159
|
imgRightSrc=''
|
|
160
160
|
text={t('CHECKOUT', 'Checkout')}
|
|
161
|
-
textStyle={{
|
|
162
|
-
bgColor={theme.colors.primary}
|
|
163
|
-
borderColor={theme.colors.primary}
|
|
161
|
+
textStyle={{ fontSize: 14 }}
|
|
164
162
|
style={{ ...styles.closeUpsellingButton }}
|
|
165
163
|
onClick={() => handleUpsellingPage(cart)}
|
|
166
164
|
/>
|
|
@@ -36,7 +36,9 @@ export const UserFormDetailsUI = (props: any) => {
|
|
|
36
36
|
isCheckout,
|
|
37
37
|
setIsOpen,
|
|
38
38
|
handleRemoveAccount,
|
|
39
|
-
isProfile
|
|
39
|
+
isProfile,
|
|
40
|
+
isGuest,
|
|
41
|
+
orderTypeValidationFields
|
|
40
42
|
} = props;
|
|
41
43
|
|
|
42
44
|
const theme = useTheme();
|
|
@@ -298,16 +300,16 @@ export const UserFormDetailsUI = (props: any) => {
|
|
|
298
300
|
<>
|
|
299
301
|
<UDForm>
|
|
300
302
|
{!validationFields?.loading &&
|
|
301
|
-
sortInputFields({ values: validationFields?.fields?.checkout })
|
|
303
|
+
sortInputFields({ values: isGuest ? orderTypeValidationFields : validationFields?.fields?.checkout })
|
|
302
304
|
.length > 0 && (
|
|
303
305
|
<UDWrapper>
|
|
304
306
|
{sortInputFields({
|
|
305
|
-
values: validationFields
|
|
307
|
+
values: isGuest ? orderTypeValidationFields : validationFields?.fields?.checkout,
|
|
306
308
|
}).map(
|
|
307
309
|
(item: any) => {
|
|
308
310
|
const field = item?.validation_field || item
|
|
309
|
-
return (
|
|
310
|
-
showField(field.code) && ((requiredFields && requiredFields?.includes?.(field.code)) || !requiredFields) && (
|
|
311
|
+
return (
|
|
312
|
+
(isGuest ? item?.enabled : showField && showField(field.code)) && ((requiredFields && requiredFields?.includes?.(field.code)) || !requiredFields) && (
|
|
311
313
|
<React.Fragment key={field.id}>
|
|
312
314
|
<Controller
|
|
313
315
|
key={field.id}
|
|
@@ -484,9 +486,7 @@ export const UserFormDetailsUI = (props: any) => {
|
|
|
484
486
|
? t('UPDATING', 'Updating...')
|
|
485
487
|
: t('UPDATE', 'Update')
|
|
486
488
|
}
|
|
487
|
-
|
|
488
|
-
textStyle={{ color: theme.colors.white, fontSize: 14 }}
|
|
489
|
-
borderColor={theme.colors.primary}
|
|
489
|
+
textStyle={{ fontSize: 14 }}
|
|
490
490
|
isDisabled={formState.loading}
|
|
491
491
|
imgRightSrc={null}
|
|
492
492
|
style={{ borderRadius: 7.6, shadowOpacity: 0, width: '100%', borderWidth: 1, marginTop: 20, marginBottom: 20 }}
|
|
@@ -504,12 +504,10 @@ export const UserFormDetailsUI = (props: any) => {
|
|
|
504
504
|
? t('SIGN_UP_AND_PLACE_ORDER', 'Sign up and place order')
|
|
505
505
|
: t('CONTINUE', 'Continue'))
|
|
506
506
|
}
|
|
507
|
-
bgColor={theme.colors.primary}
|
|
508
507
|
textStyle={{
|
|
509
508
|
color: !user?.guest_id && (formState.loading || !isValid) ? theme.colors.primary : theme.colors.white,
|
|
510
509
|
fontSize: 14
|
|
511
510
|
}}
|
|
512
|
-
borderColor={theme.colors.primary}
|
|
513
511
|
isDisabled={!user?.guest_id && (formState.loading || !isValid)}
|
|
514
512
|
imgRightSrc={null}
|
|
515
513
|
style={{
|
|
@@ -287,11 +287,6 @@ const ProfileUI = (props: ProfileParams) => {
|
|
|
287
287
|
onActionLeft={() => navigation.goBack()}
|
|
288
288
|
showCall={false}
|
|
289
289
|
btnStyle={{ paddingLeft: 0 }}
|
|
290
|
-
buttonProps={{
|
|
291
|
-
bgColor: theme.colors.white,
|
|
292
|
-
borderColor: theme.colors.white,
|
|
293
|
-
textStyle: { color: theme.colors.btnFont }
|
|
294
|
-
}}
|
|
295
290
|
/>
|
|
296
291
|
<CenterView>
|
|
297
292
|
<View style={styles.photo}>
|
|
@@ -309,13 +309,11 @@ const WalletsUI = (props: any) => {
|
|
|
309
309
|
borderWidth: 0,
|
|
310
310
|
width: 26,
|
|
311
311
|
height: 26,
|
|
312
|
-
backgroundColor: '#FFF',
|
|
313
|
-
borderColor: '#FFF',
|
|
314
|
-
shadowColor: '#FFF',
|
|
315
312
|
paddingLeft: 0,
|
|
316
313
|
paddingRight: 0,
|
|
317
314
|
marginBottom: 10
|
|
318
315
|
}}
|
|
316
|
+
useArrow
|
|
319
317
|
onClick={() => setOpenHistory(false)}
|
|
320
318
|
icon={AntDesignIcon}
|
|
321
319
|
iconProps={{
|
|
@@ -143,15 +143,12 @@ const SocketStatusUI = (props: any) => {
|
|
|
143
143
|
<OButton
|
|
144
144
|
onClick={() => setOpenModal(false)}
|
|
145
145
|
bgColor={theme.colors.white}
|
|
146
|
-
borderColor={theme.colors.primary}
|
|
147
146
|
textStyle={{ color: theme.colors.primary }}
|
|
148
147
|
style={{ borderRadius: 8, height: 48 }}
|
|
149
148
|
text={t('CLOSE', 'Close')}
|
|
150
149
|
/>
|
|
151
|
-
|
|
150
|
+
<OButton
|
|
152
151
|
onClick={() => RNRestart.Restart()}
|
|
153
|
-
borderColor={theme.colors.primary}
|
|
154
|
-
textStyle={{ color: theme.colors.white }}
|
|
155
152
|
style={{ borderRadius: 8, marginLeft: 16, height: 48 }}
|
|
156
153
|
text={t('UPDATE', 'Update')}
|
|
157
154
|
/>
|
|
@@ -85,6 +85,7 @@ interface Props {
|
|
|
85
85
|
isDisabledWithSameStyles?: boolean;
|
|
86
86
|
icon?: any;
|
|
87
87
|
iconProps?: any
|
|
88
|
+
useArrow?: boolean;
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
const OButton = (props: Props): React.ReactElement => {
|
|
@@ -119,7 +120,7 @@ const OButton = (props: Props): React.ReactElement => {
|
|
|
119
120
|
style={{ width: props.isCircle ? 52 : props.style?.width, ...props.parentStyle }}
|
|
120
121
|
disabled={props.isDisabledWithSameStyles}
|
|
121
122
|
>
|
|
122
|
-
<StyledButton style={{ ...props.style, backgroundColor: props.bgColor, borderColor: props.borderColor, borderRadius: props.style?.borderRadius }}>
|
|
123
|
+
<StyledButton style={{ ...props.style, backgroundColor: props.useArrow ? theme.colors.white : props.bgColor ?? theme.colors.primary, borderColor: props.useArrow ? theme.colors.white : props.borderColor ?? theme.colors.primary, borderRadius: props.style?.borderRadius }}>
|
|
123
124
|
{props.icon ? (
|
|
124
125
|
<props.icon {...props.iconProps} />
|
|
125
126
|
) : null}
|
|
@@ -127,7 +128,7 @@ const OButton = (props: Props): React.ReactElement => {
|
|
|
127
128
|
<OIcon style={props.imgLeftStyle} src={props.imgLeftSrc} color={theme.colors.textNormal} />
|
|
128
129
|
) : null}
|
|
129
130
|
{props.text ? (
|
|
130
|
-
<StyledText style={{ ...props.textStyle, color: props?.textStyle?.color }}>{props.text}</StyledText>
|
|
131
|
+
<StyledText style={{ ...props.textStyle, color: props.useArrow ? theme.colors.btnFont : props?.textStyle?.color ?? theme.colors.white }}>{props.text}</StyledText>
|
|
131
132
|
) : null}
|
|
132
133
|
{props.imgRightSrc ? (
|
|
133
134
|
<EndImage style={props.imgRightStyle} source={props.imgRightSrc} />
|