New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details → →
Socket
Book a DemoSign in
Socket

react-micro-popover

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-micro-popover

React component for [micro-popover](https://github.com/estrattonbailey/micro-popover). [Demo](http://estrattonbailey.com/react-micro-popover/) 🍻

latest
Source
npmnpm
Version
0.2.1
Version published
Weekly downloads
11
Maintainers
1
Weekly downloads
 
Created
Source

react-micro-popover

React component for micro-popover. Demo 🍻

js-standard-style

Usage

import Popover from 'react-micro-popover'

const MyPopover = props => (
  <h5>I'm in a popover!</h5>
)

<Popover render={MyPopover} position={'bottom'} transitionSpeed={200}>
  {({ pin, unpin }) => {
    return <button className="button" onClick={e => pin()}>Trigger Popover</button>
  }}
</Popover>

Required CSS:

.micro-popover {
  position: absolute;
  z-index: 9999;
  top: 0; left: 0;
}

MIT License

Keywords

popover

FAQs

Package last updated on 23 Aug 2017

Did you know?

Socket

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