A component for hiding or showing content based on user interaction.
npm install @instructure/ui-popover[![npm][npm]][npm-url]
[![MIT License][license-badge]][license]
[![Code of Conduct][coc-badge]][coc]
A component for hiding or showing content based on user interaction.
The ui-popover package contains the following:
- Popover
``sh`
npm install @instructure/ui-popover
For detailed usage and documentation, see Popover.
`js
import React from 'react'
import { Popover } from '@instructure/ui-popover'
const MyPopover = () => {
return (
Hello world
)
}
``
[npm]: https://img.shields.io/npm/v/@instructure/ui-popover.svg
[npm-url]: https://npmjs.com/package/@instructure/ui-popover
[license-badge]: https://img.shields.io/npm/l/instructure-ui.svg?style=flat-square
[license]: https://github.com/instructure/instructure-ui/blob/master/LICENSE.md
[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
[coc]: https://github.com/instructure/instructure-ui/blob/master/CODE_OF_CONDUCT.md