JSPM

react-native-device-info-component

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q17523F
  • License MIT

A React Native component to fetch and display device info.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-device-info-component) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    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;