Skip to content

Commit 41daf16

Browse files
committed
add deprecation note for SafeAreaView
1 parent a5baebc commit 41daf16

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/safeareaview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ id: safeareaview
33
title: SafeAreaView
44
---
55

6+
> **Deprecated.** Use [react-native-safe-area-context](https://github.com/AppAndFlow/react-native-safe-area-context) instead.
7+
68
The purpose of `SafeAreaView` is to render content within the safe area boundaries of a device. It is currently only applicable to iOS devices with iOS version 11 or later.
79

810
`SafeAreaView` renders nested content and automatically applies padding to reflect the portion of the view that is not covered by navigation bars, tab bars, toolbars, and other ancestor views. Moreover, and most importantly, Safe Area's paddings reflect the physical limitation of the screen, such as rounded corners or camera notches (i.e. the sensor housing area on iPhone 13).

0 commit comments

Comments
 (0)