// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import { CommandPaletteList, CommandPaletteItem, } from '@astryxdesign/core/CommandPalette'; import {useToast} from '@astryxdesign/core/Toast'; export default function CommandPaletteListBasic() { 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 {}}> Help (unavailable) ); }