Socket
Socket
Sign inDemoInstall

@faceless-ui/mouse-info

Package Overview
Dependencies
6
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @faceless-ui/mouse-info

Grayish brown.


Version published
Maintainers
1
Created

Readme

Source

NPM Bundle Size Supported by TRBL

React Mouse Info

Quick Start

Installation

$ npm i @faceless-ui/mouse-info
$ # or
$ yarn add @faceless-ui/mouse-info

Composition

  import React from 'react';
  import { MouseInfoProvider, withMouseInfo, useMouseInfo } from '@faceless-ui/mouse-info';

  const WithMouseInfo = withMouseInfo(({ mouseInfo }) => <div>{mouseInfo}</div>);
  const UseMouseInfo = () => <div>{useMouseInfo()}</div>;

  const App = () => {
    return (
      <MouseInfoProvider>
        <WithMouseInfo />
        <UseMouseInfo />
      </MouseInfoProvider>
    )
  }

  export default App;

For working examples, see the demo app.

Demo

$ git clone git@github.com:faceless-ui/mouse-info.git
$ yarn
$ yarn dev
$ open http://localhost:3000

API

Contribution

Help us, or let us help you help us.

License

MIT Copyright (c) TRBL, LLC

Keywords

FAQs

Last updated on 04 Mar 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc