docs: Optimize the operation experience of the demo modal (#50943)

This commit is contained in:
kiner-tang 2024-09-21 15:19:53 +08:00 committed by GitHub
parent cfa47560c5
commit a10f4c2ca3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}