Device detector in react js code example Example: Device detector in react js npm install device-detector-js