A component for hiding or showing content based on user interaction.
The ui-popover
package contains the following:
npm install @instructure/ui-popover
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>
)
}