File tree Expand file tree Collapse file tree
packages/react-native/Libraries/Modal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,11 +110,17 @@ export interface ModalPropsAndroid {
110110
111111 /**
112112 * Determines whether your modal should go under the system statusbar.
113+ *
114+ * @deprecated Has no effect on its own on Android 15+ (API 35+) due to
115+ * edge-to-edge enforcement.
113116 */
114117 statusBarTranslucent ?: boolean | undefined ;
115118
116119 /**
117120 * Determines whether your modal should go under the system navigationbar.
121+ *
122+ * @deprecated Has no effect on its own on Android 15+ (API 35+) due to
123+ * edge-to-edge enforcement.
118124 */
119125 navigationBarTranslucent ?: boolean | undefined ;
120126}
Original file line number Diff line number Diff line change @@ -190,6 +190,9 @@ export type ModalPropsAndroid = {
190190 * Whether the modal should go under the system status bar. Must be set
191191 * together with `navigationBarTranslucent` to draw the modal edge-to-edge.
192192 *
193+ * @deprecated Has no effect on its own on API level 35+ (Android 15+) due to
194+ * edge-to-edge enforcement.
195+ *
193196 * @default `false`
194197 *
195198 * @platform android
@@ -200,6 +203,9 @@ export type ModalPropsAndroid = {
200203 * Whether the modal should go under the system navigation bar. Must be set
201204 * together with `statusBarTranslucent` to draw the modal edge-to-edge.
202205 *
206+ * @deprecated Has no effect on its own on API level 35+ (Android 15+) due to
207+ * edge-to-edge enforcement.
208+ *
203209 * @default `false`
204210 *
205211 * @platform android
You can’t perform that action at this time.
0 commit comments