// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {Avatar} from '@astryxdesign/core/Avatar'; import {Stack} from '@astryxdesign/core/Layout'; import {Text} from '@astryxdesign/core/Text'; import {useToast} from '@astryxdesign/core/Toast'; export default function AvatarInteractive() { const showToast = useToast(); return ( Link (href) // Demo only: replace this toast with the call that performs the action. showToast({body: 'Demo: Margot Schroder’s profile would open here'}) } /> Button (onClick) ); }