1.0.1 • Published 12 months ago

react-native-device-info-component v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

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;