SafeAreaContext Variable

Context used to manage safe area (feature used by devices with non-rectangular screens).

If used, this is expected to wrap ConfigurableUiContent.

 <SafeAreaContext.Provider value={SafeAreaInsets.All}>
   <ConfigurableUiContent />
 </SafeAreaContext.Provider>

Type

React.Context<undefined | SafeAreaInsets>

Default Value

typescript ...

Defined in

Last Updated: 20 November, 2024