react-native-safe-area-context
Version:
A flexible way to handle safe area, also works on Android and web.
15 lines • 574 B
TypeScript
import type { WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
import type { ViewProps, HostComponent } from 'react-native';
export interface NativeProps extends ViewProps {
mode?: WithDefault<'padding' | 'margin', 'padding'>;
edges?: Readonly<{
top: string;
right: string;
bottom: string;
left: string;
}>;
cornerAdaptation?: WithDefault<'none' | 'vertical' | 'horizontal', 'none'>;
}
declare const _default: HostComponent<NativeProps>;
export default _default;
//# sourceMappingURL=NativeSafeAreaView.d.ts.map