1
- import ImageIcon from '@mui/icons-material/Image' ;
2
- import NotesOutlinedIcon from '@mui/icons-material/NotesOutlined' ;
3
- import FormIcon from '@mui/icons-material/Description' ;
4
- import HeaderIcon from '@mui/icons-material/TextFormat' ;
5
- import CodeIcon from '@mui/icons-material/Code' ;
6
- import ButtonIcon from '@mui/icons-material/EditAttributes' ;
7
- import ToggleOffOutlinedIcon from '@mui/icons-material/ToggleOffOutlined' ;
8
- import LinkIcon from '@mui/icons-material/Link' ;
9
- import FormatListBulletedOutlinedIcon from '@mui/icons-material/FormatListBulletedOutlined' ;
10
- import EditOutlinedIcon from '@mui/icons-material/EditOutlined' ;
11
- import FormatListNumberedOutlinedIcon from '@mui/icons-material/FormatListNumberedOutlined' ;
12
- import FeaturedPlayListOutlinedIcon from '@mui/icons-material/FeaturedPlayListOutlined' ;
13
- import ListAltOutlinedIcon from '@mui/icons-material/ListAltOutlined' ;
14
- import RouteOutlinedIcon from '@mui/icons-material/RouteOutlined' ;
15
- import DatasetLinkedOutlinedIcon from '@mui/icons-material/DatasetLinkedOutlined' ;
16
- import ShortTextOutlinedIcon from '@mui/icons-material/ShortTextOutlined' ;
17
- import MoreOutlinedIcon from '@mui/icons-material/MoreOutlined' ;
18
-
19
1
import { HTMLType } from '../interfaces/Interfaces' ;
20
2
21
3
//properties for all HTML components
@@ -28,7 +10,7 @@ const HTMLTypes: HTMLType[] = [
28
10
style : { } ,
29
11
placeHolderShort : 'div' ,
30
12
placeHolderLong : '' ,
31
- icon : CodeIcon ,
13
+ icon : 'Code' ,
32
14
framework : 'reactClassic' ,
33
15
nestable : true
34
16
} ,
@@ -52,7 +34,7 @@ const HTMLTypes: HTMLType[] = [
52
34
style : { } ,
53
35
placeHolderShort : 'link' ,
54
36
placeHolderLong : '' ,
55
- icon : LinkIcon ,
37
+ icon : 'Link' ,
56
38
framework : 'reactClassic' ,
57
39
nestable : false
58
40
} ,
@@ -63,7 +45,7 @@ const HTMLTypes: HTMLType[] = [
63
45
style : { } ,
64
46
placeHolderShort : 'header 1' ,
65
47
placeHolderLong : '' ,
66
- icon : HeaderIcon ,
48
+ icon : 'TextFormat' ,
67
49
framework : 'reactClassic' ,
68
50
nestable : false
69
51
} ,
@@ -74,7 +56,7 @@ const HTMLTypes: HTMLType[] = [
74
56
style : { } ,
75
57
placeHolderShort : 'header 2' ,
76
58
placeHolderLong : '' ,
77
- icon : HeaderIcon ,
59
+ icon : 'TextFormat' ,
78
60
framework : 'reactClassic' ,
79
61
nestable : false
80
62
} ,
@@ -85,7 +67,7 @@ const HTMLTypes: HTMLType[] = [
85
67
style : { } ,
86
68
placeHolderShort : 'span' ,
87
69
placeHolderLong : '' ,
88
- icon : ShortTextOutlinedIcon ,
70
+ icon : 'ShortTextOutlined' ,
89
71
framework : 'reactClassic' ,
90
72
nestable : false
91
73
} ,
@@ -96,7 +78,7 @@ const HTMLTypes: HTMLType[] = [
96
78
style : { } ,
97
79
placeHolderShort : 'paragraph' ,
98
80
placeHolderLong : '' ,
99
- icon : NotesOutlinedIcon ,
81
+ icon : 'NotesOutlined' ,
100
82
framework : 'reactClassic' ,
101
83
nestable : false
102
84
} ,
@@ -107,7 +89,7 @@ const HTMLTypes: HTMLType[] = [
107
89
style : { } ,
108
90
placeHolderShort : 'form' ,
109
91
placeHolderLong : '' ,
110
- icon : FormIcon ,
92
+ icon : 'Description' ,
111
93
framework : 'reactClassic' ,
112
94
nestable : true
113
95
} ,
@@ -118,7 +100,7 @@ const HTMLTypes: HTMLType[] = [
118
100
style : { } ,
119
101
placeHolderShort : 'input' ,
120
102
placeHolderLong : '' ,
121
- icon : EditOutlinedIcon ,
103
+ icon : 'EditOutlined' ,
122
104
framework : 'reactClassic' ,
123
105
nestable : false
124
106
} ,
@@ -129,7 +111,7 @@ const HTMLTypes: HTMLType[] = [
129
111
style : { } ,
130
112
placeHolderShort : 'button' ,
131
113
placeHolderLong : '' ,
132
- icon : ButtonIcon ,
114
+ icon : 'EditAttributes' ,
133
115
framework : 'reactClassic' ,
134
116
nestable : false
135
117
} ,
@@ -141,7 +123,7 @@ const HTMLTypes: HTMLType[] = [
141
123
style : { } ,
142
124
placeHolderShort : 'image' ,
143
125
placeHolderLong : '' ,
144
- icon : ImageIcon ,
126
+ icon : 'Image' ,
145
127
framework : 'reactClassic' ,
146
128
nestable : false
147
129
} ,
@@ -152,7 +134,7 @@ const HTMLTypes: HTMLType[] = [
152
134
style : { } ,
153
135
placeHolderShort : 'label' ,
154
136
placeHolderLong : '' ,
155
- icon : MoreOutlinedIcon ,
137
+ icon : 'MoreOutlined' ,
156
138
framework : 'reactClassic' ,
157
139
nestable : false
158
140
} ,
@@ -163,7 +145,7 @@ const HTMLTypes: HTMLType[] = [
163
145
style : { } ,
164
146
placeHolderShort : 'menu' ,
165
147
placeHolderLong : '' ,
166
- icon : FeaturedPlayListOutlinedIcon ,
148
+ icon : 'FeaturedPlayListOutlined' ,
167
149
framework : 'reactClassic' ,
168
150
nestable : true
169
151
} ,
@@ -174,7 +156,7 @@ const HTMLTypes: HTMLType[] = [
174
156
style : { } ,
175
157
placeHolderShort : 'ordered list' ,
176
158
placeHolderLong : '' ,
177
- icon : FormatListNumberedOutlinedIcon ,
159
+ icon : 'FormatListNumberedOutlined' ,
178
160
framework : 'reactClassic' ,
179
161
nestable : true
180
162
} ,
@@ -185,7 +167,7 @@ const HTMLTypes: HTMLType[] = [
185
167
style : { } ,
186
168
placeHolderShort : 'unordered list' ,
187
169
placeHolderLong : '' ,
188
- icon : FormatListBulletedOutlinedIcon ,
170
+ icon : 'FormatListBulletedOutlined' ,
189
171
framework : 'reactClassic' ,
190
172
nestable : true
191
173
} ,
@@ -196,7 +178,7 @@ const HTMLTypes: HTMLType[] = [
196
178
style : { } ,
197
179
placeHolderShort : 'list item' ,
198
180
placeHolderLong : '' ,
199
- icon : ListAltOutlinedIcon ,
181
+ icon : 'ListAltOutlined' ,
200
182
framework : 'reactClassic' ,
201
183
nestable : true
202
184
} ,
@@ -207,7 +189,7 @@ const HTMLTypes: HTMLType[] = [
207
189
style : { } ,
208
190
placeHolderShort : 'Switch' ,
209
191
placeHolderLong : '' ,
210
- icon : ToggleOffOutlinedIcon ,
192
+ icon : 'ToggleOffOutlined' ,
211
193
framework : 'reactClassic' ,
212
194
nestable : true
213
195
} ,
@@ -218,7 +200,7 @@ const HTMLTypes: HTMLType[] = [
218
200
style : { } ,
219
201
placeHolderShort : 'Route' ,
220
202
placeHolderLong : '' ,
221
- icon : RouteOutlinedIcon ,
203
+ icon : 'RouteOutlined' ,
222
204
framework : 'reactClassic' ,
223
205
nestable : true
224
206
} ,
@@ -229,7 +211,7 @@ const HTMLTypes: HTMLType[] = [
229
211
style : { } ,
230
212
placeHolderShort : 'LinkTo' ,
231
213
placeHolderLong : '' ,
232
- icon : DatasetLinkedOutlinedIcon ,
214
+ icon : 'DatasetLinkedOutlined' ,
233
215
framework : 'reactClassic' ,
234
216
nestable : true
235
217
} ,
@@ -240,7 +222,7 @@ const HTMLTypes: HTMLType[] = [
240
222
style : { } ,
241
223
placeHolderShort : 'LinkHref' ,
242
224
placeHolderLong : '' ,
243
- icon : LinkIcon ,
225
+ icon : 'Link' ,
244
226
framework : 'nextjs' ,
245
227
nestable : true
246
228
} ,
@@ -251,7 +233,7 @@ const HTMLTypes: HTMLType[] = [
251
233
style : { } ,
252
234
placeHolderShort : 'Image' ,
253
235
placeHolderLong : '' ,
254
- icon : ImageIcon ,
236
+ icon : ' ImageIcon' ,
255
237
framework : 'nextjs' ,
256
238
nestable : false
257
239
}
0 commit comments