Socket
Socket
Sign inDemoInstall

react-popopo

Package Overview
Dependencies
26
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
11K
decreased by-7.21%
Maintainers
1
Install size
11.8 MB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 20 Jul 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc