// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import type {RefObject} from 'react'; import {AspectRatio} from '@astryxdesign/core/AspectRatio'; import {Button} from '@astryxdesign/core/Button'; import {Card} from '@astryxdesign/core/Card'; import {VStack} from '@astryxdesign/core/Layout'; import {useOverlay} from '@astryxdesign/core/Overlay'; import {Text} from '@astryxdesign/core/Text'; import {useToast} from '@astryxdesign/core/Toast'; export default function UseOverlayHookUsage() { const showToast = useToast(); const overlay = useOverlay({ showOn: 'hover', position: 'bottom', align: 'center', content: (