1- import { IconComp } from "comps/comps/iconComp " ;
1+ import { ControlButton } from "comps/comps/meetingComp/controlButton " ;
22import { trans } from "i18n" ;
33import Example from "../../common/Example" ;
44import ExampleGroup from "../../common/ExampleGroup" ;
@@ -16,19 +16,19 @@ export default function IconButtonExample() {
1616 prefixIcon : "/icon:solid/align-justify" ,
1717 iconSize : "30px" ,
1818 } }
19- compFactory = { IconComp }
19+ compFactory = { ControlButton }
2020 />
2121 < Example
2222 title = { trans ( "componentDoc.loading" ) }
2323 width = { 120 }
2424 config = { { type : "default" , text : trans ( "componentDoc.submit" ) , loading : true } }
25- compFactory = { IconComp }
25+ compFactory = { ControlButton }
2626 />
2727 < Example
2828 title = { trans ( "componentDoc.disabled" ) }
2929 width = { 120 }
3030 config = { { type : "default" , text : trans ( "componentDoc.submit" ) , disabled : true } }
31- compFactory = { IconComp }
31+ compFactory = { ControlButton }
3232 />
3333 </ ExampleGroup >
3434
@@ -39,23 +39,23 @@ export default function IconButtonExample() {
3939 config = { {
4040 style : { backgroundColor : "#CD574C" , borderColor : "#AC3A32" , color : "#E0ECF6" } ,
4141 } }
42- compFactory = { IconComp }
42+ compFactory = { ControlButton }
4343 />
4444 < Example
4545 title = { trans ( "componentDoc.warning" ) }
4646 width = { 120 }
4747 config = { {
4848 style : { backgroundColor : "#F4A125" , borderColor : "#DA7D16" , color : "#000000" } ,
4949 } }
50- compFactory = { IconComp }
50+ compFactory = { ControlButton }
5151 />
5252 < Example
5353 title = { trans ( "componentDoc.success" ) }
5454 width = { 120 }
5555 config = { {
5656 style : { backgroundColor : "#5E8D6E" , borderColor : "#40694E" , color : "#E0ECF6" } ,
5757 } }
58- compFactory = { IconComp }
58+ compFactory = { ControlButton }
5959 />
6060 </ ExampleGroup >
6161 </ >
0 commit comments