react-native-device-info-component
v1.0.1
Published
A React Native component to fetch and display device info.
Downloads
10
Maintainers
Readme
Bu adımlardan sonra, paketiniz npm üzerinden yüklenebilir hale gelecektir. Başka bir projede bu bileşeni kullanmak için şu komutu kullanabilirsiniz:
bash Kodu kopyala
npm install react-native-device-info-component
Ardından, bileşeni projenize şu şekilde dahil edebilirsiniz:
javascript Kodu kopyala
import React from 'react';
import { SafeAreaView } from 'react-native';
import DeviceInfoComponent from 'react-native-device-info-component';
const App = () => {
return (
<SafeAreaView>
<DeviceInfoComponent />
</SafeAreaView>
);
};
export default App;