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
@@ -197,7 +197,7 @@ function ExportEverythingEverywhereAllAtOnceStatusModal({
|
||||
|
||||
return (
|
||||
<Modal
|
||||
visible={!!status}
|
||||
open={!!status}
|
||||
centered
|
||||
onCancel={() => {
|
||||
setStatus(undefined);
|
||||
@@ -230,7 +230,7 @@ function NotificationButton() {
|
||||
}}
|
||||
/>
|
||||
<Modal
|
||||
visible={isOpen}
|
||||
open={isOpen}
|
||||
onCancel={() =>
|
||||
store.dispatch({type: 'isNotificationModalOpen', payload: false})
|
||||
}
|
||||
@@ -537,7 +537,7 @@ function TroubleshootingModal() {
|
||||
);
|
||||
return (
|
||||
<Modal
|
||||
visible={isOpen}
|
||||
open={isOpen}
|
||||
onCancel={() => store.dispatch(toggleConnectivityModal())}
|
||||
width="100%"
|
||||
footer={null}
|
||||
@@ -561,7 +561,7 @@ function FlipperDevToolsModal({
|
||||
}) {
|
||||
return (
|
||||
<Modal
|
||||
visible={isOpen}
|
||||
open={isOpen}
|
||||
onCancel={onClose}
|
||||
width="100%"
|
||||
footer={null}
|
||||
|
||||
Reference in New Issue
Block a user