1.4.0 • Published 2 years ago

ismobilehook v1.4.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

version minified size minzipped size downloads

Demo

Installation

For NPM

    npm i ismobilehook

For Yarn

    yarn add ismobilehook

Usage

    import React from "react";
    // importing the function
    import { isMobile } from "ismobilehook";

    const App = () => {
        return (
            <h1>
                // calling the function
                {isMobile() ? "Mobile" : "Desktop"} // returns a boolean value
            </h1>
        )
    }
    export default App;

Author - Varun Kedia (github.com/purplevarun)

1.4.0

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago