@@ -104,22 +104,23 @@ const RNRadio: React.FC<Partial<RadioProps>> = forwardRef<
104104 radioTheme . icon ?. common ,
105105 radioTheme . size [ size ] ?. icon ?. wrapper ,
106106 radioProps . checked
107- ? radioTheme . themeColor [ themeColor ] ?. icon . checked . default
108- : radioTheme . themeColor [ themeColor ] ?. icon . unChecked . default ,
107+ ? radioTheme . themeColor [ themeColor ] ?. icon ? .checked ? .default
108+ : radioTheme . themeColor [ themeColor ] ?. icon ? .unChecked ? .default ,
109109 radioProps . disabled
110110 ? radioProps . checked
111- ? radioTheme . themeColor [ themeColor ] ?. icon . checked . disabled
112- : radioTheme . themeColor [ themeColor ] ?. icon . unChecked . disabled
111+ ? radioTheme . themeColor [ themeColor ] ?. icon ?. checked ?. disabled
112+ : radioTheme . themeColor [ themeColor ] ?. icon ?. unChecked
113+ ?. disabled
113114 : "" ,
114115 pressed
115116 ? radioProps . checked
116- ? radioTheme . themeColor [ themeColor ] ?. icon . checked . press
117- : radioTheme . themeColor [ themeColor ] ?. icon . unChecked . press
117+ ? radioTheme . themeColor [ themeColor ] ?. icon ? .checked ? .press
118+ : radioTheme . themeColor [ themeColor ] ?. icon ? .unChecked ? .press
118119 : "" ,
119120 isHovered
120121 ? radioProps . checked
121- ? radioTheme . themeColor [ themeColor ] ?. icon . checked . hover
122- : radioTheme . themeColor [ themeColor ] ?. icon . unChecked . hover
122+ ? radioTheme . themeColor [ themeColor ] ?. icon ? .checked ? .hover
123+ : radioTheme . themeColor [ themeColor ] ?. icon ? .unChecked ? .hover
123124 : "" ,
124125 ) ,
125126 ) ,
@@ -129,24 +130,24 @@ const RNRadio: React.FC<Partial<RadioProps>> = forwardRef<
129130 < Box
130131 style = { tailwind . style (
131132 cx (
132- radioTheme . size [ size ] ?. icon . innerCircle ?. default ,
133+ radioTheme . size [ size ] ?. icon ? .innerCircle ?. default ,
133134 radioProps . checked
134- ? radioTheme . themeColor [ themeColor ] ?. innerCircle . checked
135+ ? radioTheme . themeColor [ themeColor ] ?. innerCircle ? .checked
135136 . default
136- : radioTheme . themeColor [ themeColor ] ?. innerCircle . unChecked
137+ : radioTheme . themeColor [ themeColor ] ?. innerCircle ? .unChecked
137138 . default ,
138139 radioProps . disabled
139140 ? radioProps . checked
140- ? radioTheme . themeColor [ themeColor ] ?. innerCircle . checked
141+ ? radioTheme . themeColor [ themeColor ] ?. innerCircle ? .checked
141142 . disabled
142- : radioTheme . themeColor [ themeColor ] ?. innerCircle . unChecked
143+ : radioTheme . themeColor [ themeColor ] ?. innerCircle ? .unChecked
143144 . disabled
144145 : "" ,
145146 pressed
146147 ? radioProps . checked
147- ? radioTheme . themeColor [ themeColor ] ?. innerCircle . checked
148+ ? radioTheme . themeColor [ themeColor ] ?. innerCircle ? .checked
148149 . press
149- : radioTheme . themeColor [ themeColor ] ?. innerCircle . unChecked
150+ : radioTheme . themeColor [ themeColor ] ?. innerCircle ? .unChecked
150151 . press
151152 : "" ,
152153 ) ,
0 commit comments