// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import { CommandPaletteList, CommandPaletteGroup, CommandPaletteItem, } from '@astryxdesign/core/CommandPalette'; import {useToast} from '@astryxdesign/core/Toast'; export default function CommandPaletteListShowcase() { const showToast = useToast(); return ( showToast({body: 'Demo: Home would open here'})}> Go Home showToast({body: 'Demo: settings would open here'})}> Open Settings showToast({body: 'Demo: your profile would open here'}) }> View Profile showToast({body: 'Demo: a new file would be created here'}) }> New File showToast({body: 'Demo: file search would open here'}) }> Search Files showToast({body: 'Demo: all files would be saved here'}) }> Save All ); }