// 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 CommandPaletteGroupBasic() { const showToast = useToast(); return ( showToast({body: 'Demo: Home would open here'})}> Go to Home showToast({body: 'Demo: the dashboard would open here'}) }> Go to Dashboard showToast({body: 'Demo: a new file would be created here'}) }> New File showToast({body: 'Demo: all files would be saved here'}) }> Save All ); }