Skip to content

optimify-studio/react-popover-component

Repository files navigation

Lightweight react popover component. Can accept any children and render it directly. It will also follow window resize event and reposition itself.

Installation

yarn add react-popover-component
npm install react-popover-component --save

Usage

var Popover = require('react-popover-component');
require('react-popover-component/dist/styles.css');

<Popover
  target={(<div>Click me!</div>)}
>
  Lorem ipsum dolor sit amet.
</Popover>

Demo

TBD

API

TBD

License

Copyright (c) 2017 Viacheslav Kysil. MIT License.