Modal visible -> open
Summary: The `visible` prop is marked as deprecated in favour of `open` Reviewed By: passy Differential Revision: D49226821 fbshipit-source-id: 4a4a7d03a1c8ff860c4e4cd02e19071185a8554e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
860af1eff7
commit
e80843d433
@@ -59,7 +59,7 @@ export const Dialog = {
|
||||
return (
|
||||
<Modal
|
||||
title={opts.title}
|
||||
visible
|
||||
open
|
||||
okText={opts.okText}
|
||||
cancelText={opts.cancelText}
|
||||
onOk={async () => {
|
||||
@@ -280,7 +280,7 @@ export const Dialog = {
|
||||
return (
|
||||
<Modal
|
||||
title={title ?? 'Loading...'}
|
||||
visible
|
||||
open
|
||||
footer={null}
|
||||
width={width ?? defaultWidth}
|
||||
closable={false}>
|
||||
|
||||
Reference in New Issue
Block a user