1.0.4 • Published 12 months ago

useismobile v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Coverage Badge Node.js CI version downloads npm bundle size semantic-release MIT Licence

About The Project

useismobile example

useIsMobile is a custom hook for React. It gives you a boolean for the screen is mobile or not.

Built With

Getting Started

Prerequisites

React and ReactDOM must be installed in your project.

  • npm
    npm install react react-dom

Installation

  1. Install via npm
    npm install useismobile
  2. Install via yarn
    yarn add useismobile

Usage

You can see a basic usage example at codespace demo

Contributing

Any contribution is welcome.

Commitizen standardizes to commit messages, just don't forget to use npm commit command.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Make your changes.
  4. Commit your Changes with npm (npm run commit)
  5. Push to the Branch (git push origin feature/AmazingFeature)
  6. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Tufantunc - @tufant

Project Link: https://github.com/tufantunc/useismobile

1.0.4

12 months ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago