// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import type {CSSProperties} from 'react'; import {Overlay} from '@astryxdesign/core/Overlay'; import {AspectRatio} from '@astryxdesign/core/AspectRatio'; import {Button} from '@astryxdesign/core/Button'; import {useToast} from '@astryxdesign/core/Toast'; const frame: CSSProperties = { width: 420, maxWidth: '100%', borderRadius: 12, overflow: 'clip', }; const image: CSSProperties = { width: '100%', height: '100%', objectFit: 'cover', }; export default function OverlayHoverReveal() { const showToast = useToast(); return ( showToast({ body: 'Demo: a quick view of the workspace would open here', }) } /> }> Workspace preview ); }