📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

react-popopo

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-popopo

Smart popover component for React. Closes when you click away, no need to reclick the trigger button to close it

2.1.9
latest
Source
npm
Version published
Weekly downloads
7K
-6.43%
Maintainers
1
Weekly downloads
 
Created
Source

react-popopo

Smart popover component for React. Closes when you click away, no need to reclick the trigger button to close it.

Uses styled-components to make independent styled.

For full docs and demo see https://dapi.github.io/react-popopo/

Originaly based on https://github.com/terebentina/react-popover

Installation

npm i react-popopo -S

or

yarn add react-popopo

Usage

import React from 'react';
import Popover from 'react-popopo';

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>
    );

Alternatives

License

The MIT License

  • Copyright (c) 2019 Danil Pismenny
  • Copyright (c) 2016 Dan Caragea

Keywords

react

FAQs

Package last updated on 20 Jul 2019

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