@@ -14,7 +14,11 @@ external setLayoutAnimationEnabledExperimental: option<bool => unit> =
|
14 | 14 | "setLayoutAnimationEnabledExperimental" |
15 | 15 | |
16 | 16 | // Android-only |
17 | | -@module("react-native") @scope("UIManager") |
| 17 | +@deprecated( |
| 18 | +"UIManager.showPopupMenu is deprecated and will be removed in 0.75, migrate to @react-native/popup-menu-android" |
| 19 | +) |
| 20 | +@module("react-native") |
| 21 | +@scope("UIManager") |
18 | 22 | external showPopupMenu: ( |
19 | 23 | int, |
20 | 24 | array<string>, |
@@ -23,7 +27,11 @@ external showPopupMenu: (
|
23 | 27 | ) => unit = "showPopupMenu" |
24 | 28 | |
25 | 29 | // Android-only |
26 | | -@module("react-native") @scope("UIManager") |
| 30 | +@deprecated( |
| 31 | +"UIManager.dismissPopupMenu is deprecated and will be removed in 0.75, migrate to @react-native/popup-menu-android" |
| 32 | +) |
| 33 | +@module("react-native") |
| 34 | +@scope("UIManager") |
27 | 35 | external dismissPopupMenu: unit => unit = "dismissPopupMenu" |
28 | 36 | |
29 | 37 | @module("react-native") @scope("UIManager") |
|