react-native-safe-area-context
Version:
A flexible way to handle safe area, also works on Android and web.
9 lines (8 loc) • 356 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 string[];
}
declare const _default: HostComponent<NativeProps>;
export default _default;