import { useMemo, useState } from 'react'
import { Button } from '@astryxdesign/core/Button'
import { CommandPalette } from '@astryxdesign/core/CommandPalette'
import { HStack } from '@astryxdesign/core/HStack'
import { useToast } from '@astryxdesign/core/Toast'
import { createStaticSource } from '@astryxdesign/core/Typeahead'
export function CommandPaletteDemo() {
const [open, setOpen] = useState(false)
const showToast = useToast()
const source = useMemo(
() =>
createStaticSource([
{ id: 'home', label: '回到概览' },
{ id: 'components', label: '浏览组件' },
{ id: 'about', label: '查看关于' },
{ id: 'theme', label: '切换主题' },
]),
[],
)
return (
<>
>
)
}