PopoverBundle size 20 KB |
|
Presents content within a portal, triggered by a button.
Installation
pnpm add @inpulse-ds/popover
Usage
import {
Popover,
PopoverContent,
PopoverTrigger,
} from "@inpulse-ds/popover";
return (
<Popover>
<PopoverTrigger>Open</PopoverTrigger>
<PopoverContent>Place content for the popover here.</PopoverContent>
</Popover>
);