1
- import { IconComp } from "comps/comps/iconComp " ;
1
+ import { ControlButton } from "comps/comps/meetingComp/controlButton " ;
2
2
import { trans } from "i18n" ;
3
3
import Example from "../../common/Example" ;
4
4
import ExampleGroup from "../../common/ExampleGroup" ;
@@ -16,19 +16,19 @@ export default function IconButtonExample() {
16
16
prefixIcon : "/icon:solid/align-justify" ,
17
17
iconSize : "30px" ,
18
18
} }
19
- compFactory = { IconComp }
19
+ compFactory = { ControlButton }
20
20
/>
21
21
< Example
22
22
title = { trans ( "componentDoc.loading" ) }
23
23
width = { 120 }
24
24
config = { { type : "default" , text : trans ( "componentDoc.submit" ) , loading : true } }
25
- compFactory = { IconComp }
25
+ compFactory = { ControlButton }
26
26
/>
27
27
< Example
28
28
title = { trans ( "componentDoc.disabled" ) }
29
29
width = { 120 }
30
30
config = { { type : "default" , text : trans ( "componentDoc.submit" ) , disabled : true } }
31
- compFactory = { IconComp }
31
+ compFactory = { ControlButton }
32
32
/>
33
33
</ ExampleGroup >
34
34
@@ -39,23 +39,23 @@ export default function IconButtonExample() {
39
39
config = { {
40
40
style : { backgroundColor : "#CD574C" , borderColor : "#AC3A32" , color : "#E0ECF6" } ,
41
41
} }
42
- compFactory = { IconComp }
42
+ compFactory = { ControlButton }
43
43
/>
44
44
< Example
45
45
title = { trans ( "componentDoc.warning" ) }
46
46
width = { 120 }
47
47
config = { {
48
48
style : { backgroundColor : "#F4A125" , borderColor : "#DA7D16" , color : "#000000" } ,
49
49
} }
50
- compFactory = { IconComp }
50
+ compFactory = { ControlButton }
51
51
/>
52
52
< Example
53
53
title = { trans ( "componentDoc.success" ) }
54
54
width = { 120 }
55
55
config = { {
56
56
style : { backgroundColor : "#5E8D6E" , borderColor : "#40694E" , color : "#E0ECF6" } ,
57
57
} }
58
- compFactory = { IconComp }
58
+ compFactory = { ControlButton }
59
59
/>
60
60
</ ExampleGroup >
61
61
</ >
0 commit comments