Package Exports
- @terebentina/react-popover
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@terebentina/react-popover) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-popover
Smart popover component for React. Closes when you click away, no need to reclick the trigger button to close it.
For full docs and demo see http://projects.5mins.me/react-popover/
Installation
npm i @terebentina/react-popover -SUsage
import React from 'react';
import Popover from '@terebentina/react-popover';
// optional, you can bring your own styles if you want
import '@terebentina/react-popover/lib/styles.css';
class MyComponent extends React.Component {
render() {
return (
<div>
If you want to see a nice popover
<Popover position="bottom" className="awesome" trigger="click me">
here I am in all my glory!
</Popover>
</div>
);License
Copyright (c) 2016 Dan Caragea