# @matrafoxy/react-micro-popover

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

Latest version **0.2.2** (published 2018-10-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @matrafoxy/react-micro-popover
pnpm add @matrafoxy/react-micro-popover
yarn add @matrafoxy/react-micro-popover
bun add @matrafoxy/react-micro-popover
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2018-10-05 |
| First published | 2018-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | estrattonbailey |
| Maintainers | matrafoxy |
| Keywords | popover, popovers |

## Links

- npm: https://www.npmjs.com/package/@matrafoxy/react-micro-popover
- Repository: https://github.com/Matrafoxy/react-micro-popover
- npm.io page: https://npm.io/package/@matrafoxy/react-micro-popover

## Dependencies (1)

- [micro-popover](https://npm.io/package/micro-popover.md) ^0.3.0

## Recent versions

- 0.2.2 (latest) — 2018-10-05

## README

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

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](http://standardjs.com)

## Usage
```javascript
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:
```css
.micro-popover {
  position: absolute;
  z-index: 9999;
  top: 0; left: 0;
}
```

MIT License

---
_Source: https://npm.io/package/@matrafoxy/react-micro-popover · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
