1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
| import React, {Component} from 'react'
| import {
| ArrowUpOutlined,
| ArrowDownOutlined,
| ArrowLeftOutlined,
| ArrowRightOutlined,
| DownOutlined,
| UpOutlined,
| LeftOutlined,
| RightOutlined,
| UploadOutlined,
| DownloadOutlined,
| StepBackwardOutlined,
| StepForwardOutlined,
| DoubleRightOutlined,
| DoubleLeftOutlined,
| ForwardOutlined,
| BackwardOutlined,
| RollbackOutlined,
| EnterOutlined,
| RetweetOutlined,
| SwapOutlined,
| SwapLeftOutlined,
| SwapRightOutlined,
| PlayCircleOutlined,
| LoginOutlined,
| LogoutOutlined,
| FullscreenOutlined,
| FullscreenExitOutlined,
| QuestionOutlined,
| QuestionCircleOutlined,
| PlusOutlined,
| PlusCircleOutlined,
| PauseCircleOutlined,
| MinusOutlined,
| MinusCircleOutlined,
| InfoCircleOutlined,
| ExclamationCircleOutlined,
| CloseOutlined,
| CloseCircleOutlined,
| CheckOutlined,
| CheckCircleOutlined,
| ClockCircleOutlined,
| WarningOutlined,
| StopOutlined,
| EditOutlined,
| FormOutlined,
| CopyOutlined,
| ScissorOutlined,
| DeleteOutlined,
| SnippetsOutlined,
| HighlightOutlined,
| RedoOutlined,
| UndoOutlined,
| ZoomInOutlined,
| ZoomOutOutlined,
| DashOutlined,
| SortAscendingOutlined,
| SortDescendingOutlined,
| AreaChartOutlined,
| PieChartOutlined,
| BarChartOutlined,
| DotChartOutlined,
| LineChartOutlined,
| RadarChartOutlined,
| FallOutlined,
| RiseOutlined,
| StockOutlined,
| AppleOutlined,
| DingdingOutlined,
| WeiboOutlined,
| WechatOutlined,
| TaobaoOutlined,
| QqOutlined,
| AlipayOutlined,
| UserOutlined,
| AccountBookOutlined,
| AlertOutlined,
| ApiOutlined,
| AppstoreOutlined,
| AudioOutlined,
| BankOutlined,
| BellOutlined,
| ScanOutlined,
| BugOutlined,
| CalendarOutlined,
| CameraOutlined,
| CloudOutlined,
| CompassOutlined,
| CreditCardOutlined,
| CustomerServiceOutlined,
| DashboardOutlined,
| EllipsisOutlined,
| MoreOutlined,
| DatabaseOutlined,
| DislikeOutlined,
| EnvironmentOutlined,
| EyeOutlined,
| EyeInvisibleOutlined,
| FileOutlined,
| FilterOutlined,
| FireOutlined,
| FlagOutlined,
| FolderAddOutlined,
| FolderOutlined,
| FolderOpenOutlined,
| HeartOutlined,
| HomeOutlined,
| HourglassOutlined,
| IdcardOutlined,
| LikeOutlined,
| LockOutlined,
| MailOutlined,
| MessageOutlined,
| MobileOutlined,
| PhoneOutlined,
| PictureOutlined,
| RedEnvelopeOutlined,
| SettingOutlined,
| ToolOutlined,
| SmileOutlined,
| StarOutlined,
| ThunderboltOutlined,
| UnlockOutlined,
| BarcodeOutlined,
| KeyOutlined,
| ManOutlined,
| WomanOutlined,
| TeamOutlined,
| PoweroffOutlined,
| SearchOutlined,
| ShoppingCartOutlined,
| LinkOutlined,
| AimOutlined,
| ApartmentOutlined,
| AppstoreAddOutlined,
| AudioMutedOutlined,
| AuditOutlined,
| BarsOutlined,
| BlockOutlined,
| BookOutlined,
| BulbOutlined,
| BorderOutlined,
| NumberOutlined,
| BranchesOutlined,
| BuildOutlined,
| CalculatorOutlined,
| CarOutlined,
| CarryOutOutlined,
| CiOutlined,
| ClearOutlined,
| CloudDownloadOutlined,
| CloudServerOutlined,
| CloudSyncOutlined,
| CloudUploadOutlined,
| ClusterOutlined,
| CodeOutlined,
| CoffeeOutlined,
| CommentOutlined,
| CompressOutlined,
| ControlOutlined,
| CopyrightOutlined,
| CrownOutlined,
| DeleteColumnOutlined,
| DeleteRowOutlined,
| DeliveredProcedureOutlined,
| DeploymentUnitOutlined,
| DesktopOutlined,
| DisconnectOutlined,
| DollarOutlined,
| EuroOutlined,
| ExpandOutlined,
| ExportOutlined,
| FileAddOutlined,
| FileDoneOutlined,
| FileImageOutlined,
| FilePdfOutlined,
| FilePptOutlined,
| FileTextOutlined,
| FileUnknownOutlined,
| FileWordOutlined,
| FileZipOutlined,
| ForkOutlined,
| FrownOutlined,
| FunnelPlotOutlined,
| GatewayOutlined,
| GifOutlined,
| GiftOutlined,
| GlobalOutlined,
| GoldOutlined,
| ImportOutlined,
| LaptopOutlined,
| LoadingOutlined,
| MedicineBoxOutlined,
| MehOutlined,
| MenuOutlined,
| PaperClipOutlined,
| PartitionOutlined,
| PayCircleOutlined,
| PrinterOutlined,
| PushpinOutlined,
| QrcodeOutlined,
| ReloadOutlined,
| RestOutlined,
| RobotOutlined,
| RotateLeftOutlined,
| RotateRightOutlined,
| SafetyCertificateOutlined,
| SaveOutlined,
| SendOutlined,
| ShakeOutlined,
| ShareAltOutlined,
| ShopOutlined,
| ShoppingOutlined,
| SoundOutlined,
| SyncOutlined,
| TagOutlined,
| TagsOutlined,
| TrademarkOutlined,
| TrophyOutlined,
| UsbOutlined,
| UserAddOutlined,
| UserDeleteOutlined,
| UserSwitchOutlined,
| VideoCameraOutlined,
| WifiOutlined,
| TableOutlined
| } from '@ant-design/icons'
|
| const MkIcons = {
| 'arrow-up': (props) => <ArrowUpOutlined {...props} />,
| 'arrow-down': (props) => <ArrowDownOutlined {...props} />,
| 'arrow-left': (props) => <ArrowLeftOutlined {...props} />,
| 'arrow-right': (props) => <ArrowRightOutlined {...props} />,
| 'down': (props) => <DownOutlined {...props} />,
| 'up': (props) => <UpOutlined {...props} />,
| 'left': (props) => <LeftOutlined {...props} />,
| 'right': (props) => <RightOutlined {...props} />,
| 'upload': (props) => <UploadOutlined {...props} />,
| 'download': (props) => <DownloadOutlined {...props} />,
| 'step-backward': (props) => <StepBackwardOutlined {...props} />,
| 'step-forward': (props) => <StepForwardOutlined {...props} />,
| 'double-right': (props) => <DoubleRightOutlined {...props} />,
| 'double-left': (props) => <DoubleLeftOutlined {...props} />,
| 'forward': (props) => <ForwardOutlined {...props} />,
| 'backward': (props) => <BackwardOutlined {...props} />,
| 'rollback': (props) => <RollbackOutlined {...props} />,
| 'enter': (props) => <EnterOutlined {...props} />,
| 'retweet': (props) => <RetweetOutlined {...props} />,
| 'swap': (props) => <SwapOutlined {...props} />,
| 'swap-left': (props) => <SwapLeftOutlined {...props} />,
| 'swap-right': (props) => <SwapRightOutlined {...props} />,
| 'play-circle': (props) => <PlayCircleOutlined {...props} />,
| 'login': (props) => <LoginOutlined {...props} />,
| 'logout': (props) => <LogoutOutlined {...props} />,
| 'fullscreen': (props) => <FullscreenOutlined {...props} />,
| 'fullscreen-exit': (props) => <FullscreenExitOutlined {...props} />,
|
| 'question': (props) => <QuestionOutlined {...props} />,
| 'question-circle': (props) => <QuestionCircleOutlined {...props} />,
| 'plus': (props) => <PlusOutlined {...props} />,
| 'plus-circle': (props) => <PlusCircleOutlined {...props} />,
| 'pause-circle': (props) => <PauseCircleOutlined {...props} />,
| 'minus': (props) => <MinusOutlined {...props} />,
| 'minus-circle': (props) => <MinusCircleOutlined {...props} />,
| 'info-circle': (props) => <InfoCircleOutlined {...props} />,
| 'exclamation-circle': (props) => <ExclamationCircleOutlined {...props} />,
| 'close': (props) => <CloseOutlined {...props} />,
| 'close-circle': (props) => <CloseCircleOutlined {...props} />,
| 'check': (props) => <CheckOutlined {...props} />,
| 'check-circle': (props) => <CheckCircleOutlined {...props} />,
| 'clock-circle': (props) => <ClockCircleOutlined {...props} />,
| 'warning': (props) => <WarningOutlined {...props} />,
| 'stop': (props) => <StopOutlined {...props} />,
|
| 'edit': (props) => <EditOutlined {...props} />,
| 'form': (props) => <FormOutlined {...props} />,
| 'copy': (props) => <CopyOutlined {...props} />,
| 'scissor': (props) => <ScissorOutlined {...props} />,
| 'delete': (props) => <DeleteOutlined {...props} />,
| 'snippets': (props) => <SnippetsOutlined {...props} />,
| 'highlight': (props) => <HighlightOutlined {...props} />,
| 'redo': (props) => <RedoOutlined {...props} />,
| 'undo': (props) => <UndoOutlined {...props} />,
| 'zoom-in': (props) => <ZoomInOutlined {...props} />,
| 'zoom-out': (props) => <ZoomOutOutlined {...props} />,
| 'dash': (props) => <DashOutlined {...props} />,
| 'sort-ascending': (props) => <SortAscendingOutlined {...props} />,
| 'sort-descending': (props) => <SortDescendingOutlined {...props} />,
|
| 'area-chart': (props) => <AreaChartOutlined {...props} />,
| 'pie-chart': (props) => <PieChartOutlined {...props} />,
| 'bar-chart': (props) => <BarChartOutlined {...props} />,
| 'dot-chart': (props) => <DotChartOutlined {...props} />,
| 'line-chart': (props) => <LineChartOutlined {...props} />,
| 'radar-chart': (props) => <RadarChartOutlined {...props} />,
| 'fall': (props) => <FallOutlined {...props} />,
| 'rise': (props) => <RiseOutlined {...props} />,
| 'stock': (props) => <StockOutlined {...props} />,
|
| 'apple': (props) => <AppleOutlined {...props} />,
| 'dingding': (props) => <DingdingOutlined {...props} />,
| 'weibo': (props) => <WeiboOutlined {...props} />,
| 'wechat': (props) => <WechatOutlined {...props} />,
| 'taobao': (props) => <TaobaoOutlined {...props} />,
| 'qq': (props) => <QqOutlined {...props} />,
| 'alipay': (props) => <AlipayOutlined {...props} />,
|
| 'user': (props) => <UserOutlined {...props} />,
| 'account-book': (props) => <AccountBookOutlined {...props} />,
| 'alert': (props) => <AlertOutlined {...props} />,
| 'api': (props) => <ApiOutlined {...props} />,
| 'appstore': (props) => <AppstoreOutlined {...props} />,
| 'audio': (props) => <AudioOutlined {...props} />,
| 'bank': (props) => <BankOutlined {...props} />,
| 'bell': (props) => <BellOutlined {...props} />,
| 'scan': (props) => <ScanOutlined {...props} />,
| 'bug': (props) => <BugOutlined {...props} />,
| 'calendar': (props) => <CalendarOutlined {...props} />,
| 'camera': (props) => <CameraOutlined {...props} />,
| 'cloud': (props) => <CloudOutlined {...props} />,
| 'compass': (props) => <CompassOutlined {...props} />,
| 'credit-card': (props) => <CreditCardOutlined {...props} />,
| 'customer-service': (props) => <CustomerServiceOutlined {...props} />,
| 'dashboard': (props) => <DashboardOutlined {...props} />,
| 'ellipsis': (props) => <EllipsisOutlined {...props} />,
| 'more': (props) => <MoreOutlined {...props} />,
| 'database': (props) => <DatabaseOutlined {...props} />,
| 'dislike': (props) => <DislikeOutlined {...props} />,
| 'environment': (props) => <EnvironmentOutlined {...props} />,
| 'eye-invisible': (props) => <EyeInvisibleOutlined {...props} />,
| 'eye': (props) => <EyeOutlined {...props} />,
| 'file': (props) => <FileOutlined {...props} />,
| 'filter': (props) => <FilterOutlined {...props} />,
| 'fire': (props) => <FireOutlined {...props} />,
| 'flag': (props) => <FlagOutlined {...props} />,
| 'folder-add': (props) => <FolderAddOutlined {...props} />,
| 'folder': (props) => <FolderOutlined {...props} />,
| 'folder-open': (props) => <FolderOpenOutlined {...props} />,
| 'heart': (props) => <HeartOutlined {...props} />,
| 'home': (props) => <HomeOutlined {...props} />,
| 'hourglass': (props) => <HourglassOutlined {...props} />,
| 'idcard': (props) => <IdcardOutlined {...props} />,
| 'like': (props) => <LikeOutlined {...props} />,
| 'lock': (props) => <LockOutlined {...props} />,
| 'mail': (props) => <MailOutlined {...props} />,
| 'message': (props) => <MessageOutlined {...props} />,
| 'mobile': (props) => <MobileOutlined {...props} />,
| 'phone': (props) => <PhoneOutlined {...props} />,
| 'picture': (props) => <PictureOutlined {...props} />,
| 'red-envelope': (props) => <RedEnvelopeOutlined {...props} />,
| 'setting': (props) => <SettingOutlined {...props}/>,
| 'tool': (props) => <ToolOutlined {...props} />,
| 'smile': (props) => <SmileOutlined {...props} />,
| 'star': (props) => <StarOutlined {...props} />,
| 'thunderbolt': (props) => <ThunderboltOutlined {...props} />,
| 'unlock': (props) => <UnlockOutlined {...props} />,
| 'barcode': (props) => <BarcodeOutlined {...props} />,
| 'key': (props) => <KeyOutlined {...props} />,
| 'man': (props) => <ManOutlined {...props} />,
| 'woman': (props) => <WomanOutlined {...props} />,
| 'team': (props) => <TeamOutlined {...props} />,
| 'poweroff': (props) => <PoweroffOutlined {...props} />,
| 'search': (props) => <SearchOutlined {...props} />,
| 'shopping-cart': (props) => <ShoppingCartOutlined {...props} />,
| 'link': (props) => <LinkOutlined {...props} />,
| 'aim': (props) => <AimOutlined {...props} />,
| 'apartment': (props) => <ApartmentOutlined {...props} />,
| 'appstore-add': (props) => <AppstoreAddOutlined {...props} />,
| 'audio-mute': (props) => <AudioMutedOutlined {...props} />,
| 'audit': (props) => <AuditOutlined {...props} />,
| 'bars': (props) => <BarsOutlined {...props} />,
| 'block': (props) => <BlockOutlined {...props} />,
| 'book': (props) => <BookOutlined {...props} />,
| 'bulb': (props) => <BulbOutlined {...props} />,
| 'border': (props) => <BorderOutlined {...props} />,
| 'number': (props) => <NumberOutlined {...props} />,
| 'branches': (props) => <BranchesOutlined {...props} />,
| 'build': (props) => <BuildOutlined {...props} />,
| 'calculator': (props) => <CalculatorOutlined {...props} />,
| 'car': (props) => <CarOutlined {...props} />,
| 'carry-out': (props) => <CarryOutOutlined {...props} />,
| 'ci': (props) => <CiOutlined {...props} />,
| 'clear': (props) => <ClearOutlined {...props} />,
| 'cloud-download': (props) => <CloudDownloadOutlined {...props} />,
| 'cloud-server': (props) => <CloudServerOutlined {...props} />,
| 'cloud-sync': (props) => <CloudSyncOutlined {...props} />,
| 'cloud-upload': (props) => <CloudUploadOutlined {...props} />,
| 'cluster': (props) => <ClusterOutlined {...props} />,
| 'code': (props) => <CodeOutlined {...props} />,
| 'coffee': (props) => <CoffeeOutlined {...props} />,
| 'comment': (props) => <CommentOutlined {...props} />,
| 'compress': (props) => <CompressOutlined {...props} />,
| 'control': (props) => <ControlOutlined {...props} />,
| 'copyright': (props) => <CopyrightOutlined {...props} />,
| 'crown': (props) => <CrownOutlined {...props} />,
| 'delete-column': (props) => <DeleteColumnOutlined {...props} />,
| 'delete-row': (props) => <DeleteRowOutlined {...props} />,
| 'delivered-procedure': (props) => <DeliveredProcedureOutlined {...props} />,
| 'deployment-unit': (props) => <DeploymentUnitOutlined {...props} />,
| 'desktop': (props) => <DesktopOutlined {...props} />,
| 'disconnect': (props) => <DisconnectOutlined {...props} />,
| 'dollar': (props) => <DollarOutlined {...props} />,
| 'euro': (props) => <EuroOutlined {...props} />,
| 'expand': (props) => <ExpandOutlined {...props} />,
| 'export': (props) => <ExportOutlined {...props} />,
| 'file-add': (props) => <FileAddOutlined {...props} />,
| 'file-done': (props) => <FileDoneOutlined {...props} />,
| 'file-image': (props) => <FileImageOutlined {...props} />,
| 'file-pdf': (props) => <FilePdfOutlined {...props} />,
| 'file-ppt': (props) => <FilePptOutlined {...props} />,
| 'file-text': (props) => <FileTextOutlined {...props} />,
| 'file-unknown': (props) => <FileUnknownOutlined {...props} />,
| 'file-word': (props) => <FileWordOutlined {...props} />,
| 'file-zip': (props) => <FileZipOutlined {...props} />,
| 'fork': (props) => <ForkOutlined {...props} />,
| 'frown': (props) => <FrownOutlined {...props} />,
| 'funnel-plot': (props) => <FunnelPlotOutlined {...props} />,
| 'gateway': (props) => <GatewayOutlined {...props} />,
| 'gif': (props) => <GifOutlined {...props} />,
| 'gift': (props) => <GiftOutlined {...props} />,
| 'global': (props) => <GlobalOutlined {...props} />,
| 'gold': (props) => <GoldOutlined {...props} />,
| 'import': (props) => <ImportOutlined {...props} />,
| 'laptop': (props) => <LaptopOutlined {...props} />,
| 'loading': (props) => <LoadingOutlined {...props} />,
| 'medicine-box': (props) => <MedicineBoxOutlined {...props} />,
| 'meh': (props) => <MehOutlined {...props} />,
| 'menu': (props) => <MenuOutlined {...props} />,
| 'paper-clip': (props) => <PaperClipOutlined {...props} />,
| 'partition': (props) => <PartitionOutlined {...props} />,
| 'pay-circle': (props) => <PayCircleOutlined {...props} />,
| 'printer': (props) => <PrinterOutlined {...props} />,
| 'pushpin': (props) => <PushpinOutlined {...props} />,
| 'qrcode': (props) => <QrcodeOutlined {...props} />,
| 'reload': (props) => <ReloadOutlined {...props} />,
| 'rest': (props) => <RestOutlined {...props} />,
| 'robot': (props) => <RobotOutlined {...props} />,
| 'rotate-left': (props) => <RotateLeftOutlined {...props} />,
| 'rotate-right': (props) => <RotateRightOutlined {...props} />,
| 'safety-certificate': (props) => <SafetyCertificateOutlined {...props} />,
| 'save': (props) => <SaveOutlined {...props} />,
| 'send': (props) => <SendOutlined {...props} />,
| 'shake': (props) => <ShakeOutlined {...props} />,
| 'share-alt': (props) => <ShareAltOutlined {...props} />,
| 'shop': (props) => <ShopOutlined {...props} />,
| 'shopping': (props) => <ShoppingOutlined {...props} />,
| 'sound': (props) => <SoundOutlined {...props} />,
| 'sync': (props) => <SyncOutlined {...props} />,
| 'tag': (props) => <TagOutlined {...props} />,
| 'tags': (props) => <TagsOutlined {...props} />,
| 'trademark': (props) => <TrademarkOutlined {...props} />,
| 'trophy': (props) => <TrophyOutlined {...props} />,
| 'usb': (props) => <UsbOutlined {...props} />,
| 'user-add': (props) => <UserAddOutlined {...props} />,
| 'user-delete': (props) => <UserDeleteOutlined {...props} />,
| 'user-switch': (props) => <UserSwitchOutlined {...props} />,
| 'video-camera': (props) => <VideoCameraOutlined {...props} />,
| 'wifi': (props) => <WifiOutlined {...props} />,
| 'table': (props) => <TableOutlined {...props} />,
| }
|
| class MkIcon extends Component {
| render() {
| const { type, ...resProps } = this.props
|
| if (!type || !MkIcons[type]) return null
|
| return (
| MkIcons[type](resProps)
| )
| }
| }
| export default MkIcon
|
|