File tree 2 files changed +72
-12
lines changed
2 files changed +72
-12
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,7 @@ import { FieldSelector } from '@/screens/field-selector'
14
14
import { FormFieldList } from '@/screens/form-field-list'
15
15
import { FormPreview } from '@/screens/form-preview'
16
16
import { EditFieldDialog } from '@/screens/edit-field-dialog'
17
-
18
- import EmptyListImage from '@/assets/oc-thinking.png'
17
+ import EmptyListSvg from '@/assets/oc-thinking.svg'
19
18
20
19
export type FormFieldOrGroup = FormFieldType | FormFieldType [ ]
21
20
@@ -41,12 +40,12 @@ export default function FormBuilder() {
41
40
disabled : false ,
42
41
label : label || newFieldName ,
43
42
name : newFieldName ,
44
- onChange : ( ) => { } ,
45
- onSelect : ( ) => { } ,
43
+ onChange : ( ) => { } ,
44
+ onSelect : ( ) => { } ,
46
45
placeholder : placeholder || 'Placeholder' ,
47
46
required : true ,
48
47
rowIndex : index ,
49
- setValue : ( ) => { } ,
48
+ setValue : ( ) => { } ,
50
49
type : '' ,
51
50
value : '' ,
52
51
variant,
@@ -162,13 +161,7 @@ export default function FormBuilder() {
162
161
addFormField ( variant , index )
163
162
}
164
163
/>
165
- < Image
166
- src = { EmptyListImage }
167
- width = { 585 }
168
- height = { 502 }
169
- alt = "Empty Image"
170
- className = "object-contain mx-auto p-5 md:p-20"
171
- />
164
+ < EmptyListSvg className = "mx-auto" />
172
165
</ div >
173
166
) }
174
167
/>
You can’t perform that action at this time.
0 commit comments