[react-native] add SafeAreaView

This commit is contained in:
Steffen Matthischke
2017-11-02 23:08:06 +01:00
parent b67c928904
commit ef34bdbd8e
+13
View File
@@ -2230,6 +2230,16 @@ export interface SegmentedControlIOSProperties extends ViewProperties {
values?: string[]
}
/**
* Renders nested content and automatically applies paddings 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 feflect physical limitation of the screen,
* such as rounded corners or camera notches (aka sensor housing area on iPhone X).
*/
export interface SafeAreaViewStatic extends NativeMethodsMixin, React.ClassicComponentClass<ViewProperties> {
}
/**
* Use `SegmentedControlIOS` to render a UISegmentedControl iOS.
*
@@ -8288,6 +8298,9 @@ export type RefreshControl = RefreshControlStatic
export var RecyclerViewBackedScrollView: RecyclerViewBackedScrollViewStatic
export type RecyclerViewBackedScrollView = RecyclerViewBackedScrollViewStatic
export var SafeAreaView: SafeAreaViewStatic
export type SafeAreaView = SafeAreaViewStatic
export var SegmentedControlIOS: SegmentedControlIOSStatic
export type SegmentedControlIOS = SegmentedControlIOSStatic