Introduce the Electron desktop app with a split app/chat/settings structure and shared nanostore state so UI areas own their state instead of routing it through the root.
10 lines
375 B
TypeScript
10 lines
375 B
TypeScript
'use client'
|
|
|
|
import { type ReactNode } from 'react'
|
|
|
|
export const ToolGroupRoot = ({ children }: { children: ReactNode }) => (
|
|
<div className="my-2 flex flex-col gap-1">{children}</div>
|
|
)
|
|
export const ToolGroupTrigger = (_props: { count?: number; active?: boolean }) => null
|
|
export const ToolGroupContent = ({ children }: { children: ReactNode }) => <div>{children}</div>
|