mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 14:08:56 -05:00
Delete react-native-safe-area-context_vx.x.x.js (#3123)
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
declare module "react-native-safe-area-context" {
|
||||
import type { Node } from "react";
|
||||
|
||||
declare interface EdgeInsets {
|
||||
top: number;
|
||||
right: number;
|
||||
bottom: number;
|
||||
left: number;
|
||||
}
|
||||
|
||||
declare interface Rect {
|
||||
x: number;
|
||||
y: number;
|
||||
width: number;
|
||||
height: number;
|
||||
}
|
||||
declare interface Metrics {
|
||||
insets: EdgeInsets;
|
||||
frame: Rect;
|
||||
}
|
||||
|
||||
declare export function useSafeAreaInsets(): EdgeInsets;
|
||||
|
||||
declare type SafeAreaProviderProps = {
|
||||
children?: Node,
|
||||
initialMetrics?: Metrics | null,
|
||||
initialSafeAreaInsets?: EdgeInsets | null,
|
||||
};
|
||||
|
||||
declare export function SafeAreaProvider( props: SafeAreaProviderProps ): Node;
|
||||
}
|
||||
Reference in New Issue
Block a user