@@ -38,81 +38,81 @@ const OndoNotEligibleSheet: React.FC<OndoNotEligibleSheetProps> = ({
3838 onConfirm,
3939} ) => (
4040 < BottomSheet
41- onClose = { onClose }
42- testID = { ONDO_NOT_ELIGIBLE_SHEET_TEST_IDS . CONTAINER }
43- >
44- < Box twClassName = "px-4 pb-4" >
45- { /* Close button */ }
46- < Box
47- flexDirection = { BoxFlexDirection . Row }
48- alignItems = { BoxAlignItems . Center }
49- twClassName = "justify-end mb-4"
50- >
51- < ButtonIcon
52- iconName = { IconName . Close }
53- iconProps = { { color : IconColor . IconDefault } }
54- onPress = { onClose }
55- testID = "ondo-not-eligible-sheet-close"
56- />
57- </ Box >
41+ onClose = { onClose }
42+ testID = { ONDO_NOT_ELIGIBLE_SHEET_TEST_IDS . CONTAINER }
43+ >
44+ < Box twClassName = "px-4 pb-4" >
45+ { /* Close button */ }
46+ < Box
47+ flexDirection = { BoxFlexDirection . Row }
48+ alignItems = { BoxAlignItems . Center }
49+ twClassName = "justify-end mb-4"
50+ >
51+ < ButtonIcon
52+ iconName = { IconName . Close }
53+ iconProps = { { color : IconColor . IconDefault } }
54+ onPress = { onClose }
55+ testID = "ondo-not-eligible-sheet-close"
56+ />
57+ </ Box >
5858
59- { /* Warning icon */ }
60- < Box alignItems = { BoxAlignItems . Center } twClassName = "mb-4" >
61- < Icon
62- name = { IconName . Danger }
63- size = { IconSize . Xl }
64- color = { IconColor . WarningDefault }
65- />
66- </ Box >
59+ { /* Warning icon */ }
60+ < Box alignItems = { BoxAlignItems . Center } twClassName = "mb-4" >
61+ < Icon
62+ name = { IconName . Danger }
63+ size = { IconSize . Xl }
64+ color = { IconColor . WarningDefault }
65+ />
66+ </ Box >
6767
68- { /* Title */ }
69- < Box alignItems = { BoxAlignItems . Center } twClassName = "mb-4" >
70- < Text
71- variant = { TextVariant . HeadingMd }
72- fontWeight = { FontWeight . Bold }
73- testID = { ONDO_NOT_ELIGIBLE_SHEET_TEST_IDS . TITLE }
74- >
75- { strings ( 'rewards.ondo_campaign_not_eligible.title' ) }
76- </ Text >
77- </ Box >
68+ { /* Title */ }
69+ < Box alignItems = { BoxAlignItems . Center } twClassName = "mb-4" >
70+ < Text
71+ variant = { TextVariant . HeadingMd }
72+ fontWeight = { FontWeight . Bold }
73+ testID = { ONDO_NOT_ELIGIBLE_SHEET_TEST_IDS . TITLE }
74+ >
75+ { strings ( 'rewards.ondo_campaign_not_eligible.title' ) }
76+ </ Text >
77+ </ Box >
7878
79- { /* Body */ }
80- < Box twClassName = "mb-6" >
81- < Text
82- variant = { TextVariant . BodyMd }
83- color = { TextColor . TextAlternative }
84- twClassName = "text-center"
85- testID = { ONDO_NOT_ELIGIBLE_SHEET_TEST_IDS . BODY }
86- >
87- { strings ( 'rewards.ondo_campaign_not_eligible.body' , {
88- days : ONDO_GM_REQUIRED_QUALIFIED_DAYS ,
89- } ) }
90- </ Text >
91- </ Box >
79+ { /* Body */ }
80+ < Box twClassName = "mb-6" >
81+ < Text
82+ variant = { TextVariant . BodyMd }
83+ color = { TextColor . TextAlternative }
84+ twClassName = "text-center"
85+ testID = { ONDO_NOT_ELIGIBLE_SHEET_TEST_IDS . BODY }
86+ >
87+ { strings ( 'rewards.ondo_campaign_not_eligible.body' , {
88+ days : ONDO_GM_REQUIRED_QUALIFIED_DAYS ,
89+ } ) }
90+ </ Text >
91+ </ Box >
9292
93- { /* Buttons */ }
94- < Box flexDirection = { BoxFlexDirection . Row } twClassName = "gap-3" >
95- < Button
96- variant = { ButtonVariant . Secondary }
97- size = { ButtonSize . Lg }
98- onPress = { onClose }
99- twClassName = "flex-1"
100- testID = { ONDO_NOT_ELIGIBLE_SHEET_TEST_IDS . CANCEL }
101- >
102- { strings ( 'rewards.ondo_campaign_not_eligible.cancel' ) }
103- </ Button >
104- < Button
105- variant = { ButtonVariant . Primary }
106- size = { ButtonSize . Lg }
107- onPress = { onConfirm }
108- twClassName = "flex-1"
109- testID = { ONDO_NOT_ELIGIBLE_SHEET_TEST_IDS . CONFIRM }
110- >
111- { strings ( 'rewards.ondo_campaign_not_eligible.confirm' ) }
112- </ Button >
113- </ Box >
93+ { /* Buttons */ }
94+ < Box flexDirection = { BoxFlexDirection . Row } twClassName = "gap-3" >
95+ < Button
96+ variant = { ButtonVariant . Secondary }
97+ size = { ButtonSize . Lg }
98+ onPress = { onClose }
99+ twClassName = "flex-1"
100+ testID = { ONDO_NOT_ELIGIBLE_SHEET_TEST_IDS . CANCEL }
101+ >
102+ { strings ( 'rewards.ondo_campaign_not_eligible.cancel' ) }
103+ </ Button >
104+ < Button
105+ variant = { ButtonVariant . Primary }
106+ size = { ButtonSize . Lg }
107+ onPress = { onConfirm }
108+ twClassName = "flex-1"
109+ testID = { ONDO_NOT_ELIGIBLE_SHEET_TEST_IDS . CONFIRM }
110+ >
111+ { strings ( 'rewards.ondo_campaign_not_eligible.confirm' ) }
112+ </ Button >
114113 </ Box >
115- </ BottomSheet >
114+ </ Box >
115+ </ BottomSheet >
116116) ;
117117
118118export default OndoNotEligibleSheet ;
0 commit comments