JSPM

@instructure/ui-popover

11.2.1-snapshot-9
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2727
  • Score
    100M100P100Q146816F
  • License MIT

A component for hiding or showing content based on user interaction.

Package Exports

  • @instructure/ui-popover
  • @instructure/ui-popover/es/index.js
  • @instructure/ui-popover/lib/Popover
  • @instructure/ui-popover/lib/Popover/index.js
  • @instructure/ui-popover/lib/index.js

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 (@instructure/ui-popover) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ui-popover

npm MIT License Code of Conduct

A component for hiding or showing content based on user interaction.

Components

The ui-popover package contains the following:

Installation

npm install @instructure/ui-popover

Usage

For detailed usage and documentation, see Popover.

import React from 'react'
import { Popover } from '@instructure/ui-popover'

const MyPopover = () => {
  return (
    <Popover on="click" renderTrigger={<button>Click me!</button>}>
      Hello world
    </Popover>
  )
}