Skip to main content

SafeAreaView

How to use

import React from 'react';
import {SafeAreaView ,Text} from '@gyri/native-ui-components';

const App = ({style,className}) => {
return (
<SafeAreaView style={style} className={className}>
<Text>Page content</Text>
</SafeAreaView>
);
};
export default App;

Props

#NameData typeDefault valueValuesDescription
1stylestringIt allows you to style your components.
2classNamestring''It defined external CSS stylesheet.

For more details https://reactnative.dev/docs/safeareaview