@npmcorp/pui-react-overlay-trigger

6.4.0 • Public • Published

pui-react-overlay-trigger

A React component for displaying a tooltip or popover on user action

Pivotal UI React (GitHub, npm) is a collection of React components for rapidly building and prototyping UIs.

This component requires React v0.13

See the Pivotal UI Styleguide for fully rendered examples.

Components

OverlayTrigger

Display a tooltip or popover on a specified user action

var OverlayTrigger = require('

#### Properties

- `placement`
  - `String`: One of `left`, `right` (default), `top`, or `bottom`--determines where the place the overlay relative to the trigger

- `trigger`
  - `String, Array<String>`: One of `hover` (default), `focus` (default), or `click`--defines which user actions trigger the overlay

- `overlay`
  - `Element`: The HTML for the overlay


*****************************************

(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.

Dependents (0)

Package Sidebar

Install

npm i @npmcorp/pui-react-overlay-trigger

Weekly Downloads

0

Version

6.4.0

License

MIT

Last publish

Collaborators

  • shmam
  • dipeshpatel01
  • kartykp
  • jithinpg
  • reggi
  • karenjli
  • tayvongh
  • navin22
  • lukekarrys-gh
  • dhei
  • tiagonbotelho
  • hashtagchris
  • nishantms
  • feelepxyz.github
  • monishcm
  • jumoel
  • trevrosen
  • fritzy
  • npm
  • npmci
  • saquibkhan
  • gar
  • mylesborins