mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
[react-native] add SafeAreaView
This commit is contained in:
Vendored
+13
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user