|
|
|
|
3
|
import { EdgeInsets, InsetChangedEvent } from './SafeArea.types';
|
3
|
import { EdgeInsets, InsetChangedEvent } from './SafeArea.types';
|
4
|
import NativeSafeAreaView from './NativeSafeAreaView';
|
4
|
import NativeSafeAreaView from './NativeSafeAreaView';
|
5
|
|
5
|
|
6
|
-const SafeAreaContext = React.createContext<EdgeInsets | null>(null);
|
|
|
|
|
6
|
+export const SafeAreaContext = React.createContext<EdgeInsets | null>(null);
|
7
|
|
7
|
|
8
|
export interface SafeAreaViewProps {
|
8
|
export interface SafeAreaViewProps {
|
9
|
children?: React.ReactNode;
|
9
|
children?: React.ReactNode;
|