JSPM

@fluentui/react-popover

0.0.0-nightly-20220331-0417.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 271006
  • Score
    100M100P100Q174299F
  • License MIT

Popover component for Fluent UI

Package Exports

  • @fluentui/react-popover

Readme

@fluentui/react-popover

React Popover components for Fluent UI React

These are not production-ready components and should never be used in product. This space is useful for testing new components whose APIs might change before final release.

To import React Popover components:

import { Popover, PopoverTrigger, PopoverSurface } from '@fluentui/react-popover';

<Popover>
  <PopoverTrigger>
    <button>Controls popover</button>
  </PopoverTrigger>

  <PopoverSurface>
    <div className={example}>
      <h3>Popover content</h3>

      <div>This is some popover content</div>
    </div>
  </PopoverSurface>
</Popover>;