mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
docs: Optimize the operation experience of the demo modal (#50943)
This commit is contained in:
parent
cfa47560c5
commit
a10f4c2ca3
@ -22,6 +22,7 @@ const App: React.FC = () => {
|
||||
onCancel={() => {
|
||||
setShow1(false);
|
||||
}}
|
||||
onOk={() => setShow1(false)}
|
||||
>
|
||||
<Button
|
||||
onClick={() => {
|
||||
@ -38,6 +39,7 @@ const App: React.FC = () => {
|
||||
onCancel={() => {
|
||||
setShow2(false);
|
||||
}}
|
||||
onOk={() => setShow2(false)}
|
||||
>
|
||||
<Button
|
||||
onClick={() => {
|
||||
@ -54,6 +56,7 @@ const App: React.FC = () => {
|
||||
onCancel={() => {
|
||||
setShow3(false);
|
||||
}}
|
||||
onOk={() => setShow3(false)}
|
||||
>
|
||||
<Image
|
||||
width={200}
|
||||
|
Loading…
Reference in New Issue
Block a user