Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6538dbb

Browse files
committed
UIManager showPopupMenu and dismissPopupMenu are deprecated
1 parentfdceaf7 commit6538dbb

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

‎src/apis/UIManager.res‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ external setLayoutAnimationEnabledExperimental: option<bool => unit> =
1414
"setLayoutAnimationEnabledExperimental"
1515

1616
// 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")
1822
externalshowPopupMenu: (
1923
int,
2024
array<string>,
@@ -23,7 +27,11 @@ external showPopupMenu: (
2327
)=>unit="showPopupMenu"
2428

2529
// 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")
2735
externaldismissPopupMenu:unit=>unit="dismissPopupMenu"
2836

2937
@module("react-native") @scope("UIManager")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp