@@ -6,6 +6,7 @@ import type { ComponentStatuses } from './componentStatusData';
6
6
import { componentData } from './componentStatusData' ;
7
7
import type { IconComponent } from '~components/Icons' ;
8
8
import {
9
+ CloseIcon ,
9
10
StampIcon ,
10
11
EditIcon ,
11
12
CheckIcon ,
@@ -169,19 +170,29 @@ const ComponentStatusTable = (): React.ReactElement => {
169
170
< th align = "left" >
170
171
< Text weight = "semibold" > Component</ Text >
171
172
</ th >
172
- < th align = "left " >
173
+ < th style = { { width : '30%' } } align = "right " >
173
174
< Text weight = "semibold" > Status</ Text >
174
175
</ th >
175
176
< th style = { { width : '50%' } } align = "left" >
176
177
< Text weight = "semibold" > Description</ Text >
177
178
</ th >
179
+ < th style = { { width : '10%' } } align = "center" >
180
+ < Text weight = "semibold" > Web</ Text >
181
+ </ th >
182
+ < th style = { { width : '10%' } } align = "center" >
183
+ < Text weight = "semibold" > RN</ Text >
184
+ </ th >
178
185
< th align = "right" >
179
186
< Text weight = "semibold" > Released In</ Text >
180
187
</ th >
181
188
</ tr >
182
189
</ thead >
183
190
< tbody >
184
191
{ sortedData . map ( ( data ) => {
192
+ const isAvailableOnWeb = data . platform === 'web' ;
193
+ const isAvailableOnMobile = data . platform === 'mobile' ;
194
+ const isAvailableOnAll = data . platform === 'all' ;
195
+
185
196
return (
186
197
< tr key = { data . name } >
187
198
< td align = "left" >
@@ -191,14 +202,28 @@ const ComponentStatusTable = (): React.ReactElement => {
191
202
< Text > { data . name } </ Text >
192
203
) }
193
204
</ td >
194
- < td align = "left " >
205
+ < td align = "right " >
195
206
< ComponentStatusBadge status = { data . status } />
196
207
</ td >
197
208
< td align = "left" >
198
209
< Text size = "medium" color = "surface.text.gray.subtle" >
199
210
{ data . description }
200
211
</ Text >
201
212
</ td >
213
+ < td align = "center" >
214
+ { isAvailableOnWeb || isAvailableOnAll ? (
215
+ < CheckIcon color = "feedback.icon.positive.intense" />
216
+ ) : (
217
+ < CloseIcon color = "feedback.icon.negative.intense" />
218
+ ) }
219
+ </ td >
220
+ < td align = "center" >
221
+ { isAvailableOnMobile || isAvailableOnAll ? (
222
+ < CheckIcon color = "feedback.icon.positive.intense" />
223
+ ) : (
224
+ < CloseIcon color = "feedback.icon.negative.intense" />
225
+ ) }
226
+ </ td >
202
227
< td align = "right" >
203
228
< ReleasedInLink version = { data . releasedIn } />
204
229
</ td >
0 commit comments