react-detect-devices-hook-joeban0608
v1.0.1
Published
react Detect Devices hooks
Downloads
5
Maintainers
Readme
npm-module-detect-devices-hook
react Detect Devices hooks
example code:
import logo from "./logo.svg";
import "./App.css";
import { handleDetectDevices } from "react-detect-devices-hook-joeban0608";
function App() {
const { isMobile } = handleDetectDevices();
return (
<div className="App">
isMobil?
{` ${isMobile}`}
</div>
);
}
export default App;