// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {usePopover} from '@astryxdesign/core/Popover'; import {Button} from '@astryxdesign/core/Button'; import {Card} from '@astryxdesign/core/Card'; import {Center} from '@astryxdesign/core/Center'; import {VStack} from '@astryxdesign/core/Layout'; import {Text} from '@astryxdesign/core/Text'; import {useToast} from '@astryxdesign/core/Toast'; export default function PopoverHookUsage() { const showToast = useToast(); const popover = usePopover({dialogLabel: 'Quick actions'}); return (