Commit 7097731b authored by timel's avatar timel

feat: yes no modal

parent 582c0349
Pipeline #22457 passed with stages
in 12 minutes and 16 seconds
...@@ -25,23 +25,25 @@ export const YesNoModal: React.FC = () => { ...@@ -25,23 +25,25 @@ export const YesNoModal: React.FC = () => {
<NeosModal <NeosModal
title={`${preHintMsg} ${msg}`} title={`${preHintMsg} ${msg}`}
open={isOpen} open={isOpen}
width={400}
footer={ footer={
<> <>
<Button <Button
onClick={() => { onClick={() => {
sendSelectEffectYnResponse(true); sendSelectEffectYnResponse(false);
rs(); rs();
}} }}
> >
Yes 取消
</Button> </Button>
<Button <Button
type="primary"
onClick={() => { onClick={() => {
sendSelectEffectYnResponse(false); sendSelectEffectYnResponse(true);
rs(); rs();
}} }}
> >
No 确认
</Button> </Button>
</> </>
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment