diff --git a/lib/window.ts b/lib/window.ts index 8807fb3..1b424d8 100644 --- a/lib/window.ts +++ b/lib/window.ts @@ -80,8 +80,8 @@ export async function openFullWindow({ export async function openWindow({ name, url, - width = 820, - height = platform() === 'windows' ? 730 : 700, + width = 840, + height = platform() === 'windows' ? 755 : 725, }: { name: string url: string diff --git a/src/components/CommandInfo.tsx b/src/components/CommandInfo.tsx new file mode 100644 index 0000000..5ba28c8 --- /dev/null +++ b/src/components/CommandInfo.tsx @@ -0,0 +1,36 @@ +import { Accordion, AccordionItem } from '@heroui/react' +import { InfoIcon } from 'lucide-react' +import { startTransition, useState } from 'react' + +export default function CommandInfo({ content }: { content: string }) { + const [isOpen, setIsOpen] = useState(false) + + return ( + { + startTransition(() => { + setIsOpen((prev) => !prev) + }) + }} + > + } + > + {content} + + + ) +}