Skip to content

@chainplatform/device is a React Native library that provides a Device Info component for react-native and react-native-web.

License

Notifications You must be signed in to change notification settings

ChainPlatform/react-native-device-detect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native Device Info

@chainplatform/device is a React Native library that provides a Device Info component for react-native and react-native-web.

Follow @doansan

Install

npm install @chainplatform/device --save

or

yarn add @chainplatform/device

Usage

import React from 'react';
import {StyleSheet} from 'react-native';
import DeviceInfo from '@chainplatform/device';

class App extends React.Component {

  constructor(props) {
    super(props);

    this.state = {};
  }

  render() {
    console.log("DeviceInfo ", DeviceInfo);
    return null;
  }
}

About

@chainplatform/device is a React Native library that provides a Device Info component for react-native and react-native-web.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published