File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ const ConfirmDialog = (props: ConfirmDialogProps) => {
30
30
centered,
31
31
getContainer,
32
32
maskStyle,
33
- okText = 'Ok ' ,
33
+ okText = 'delete ' ,
34
34
okButtonProps,
35
- cancelText = 'Cancel ' ,
35
+ cancelText = 'cancel ' ,
36
36
cancelButtonProps,
37
37
bodyStyle,
38
38
closable = true ,
@@ -78,7 +78,10 @@ const ConfirmDialog = (props: ConfirmDialogProps) => {
78
78
prefixCls = { confirmClassName }
79
79
className = { classString }
80
80
wrapClassName = { classNames ( {
81
- [ getBEMModifier ( confirmClassName , 'centered' ) ] : ! ! props . centered ,
81
+ [ getBEMModifier (
82
+ confirmClassName ,
83
+ 'centered'
84
+ ) ] : ! ! props . centered ,
82
85
} ) }
83
86
onCancel = { ( ) => close ( { triggerCancel : true } ) }
84
87
visible = { visible }
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ const Modal: React.FC<IModalProps> = (props) => {
73
73
centered,
74
74
getContainer,
75
75
closeIcon,
76
- cancelText = 'Ok ' ,
77
- okText = 'Save ' ,
76
+ cancelText = 'cancel ' ,
77
+ okText = 'ok ' ,
78
78
...restProps
79
79
} = props ;
80
80
You can’t perform that action at this time.
0 commit comments