Current status includes: - Virtual monitor surface and components - Monitor store for state management - Tool call animations and transitions - Liquid glass shader integration Known issue to fix: Tool status display timing - "正在xx" appears after tool execution completes instead of when tool call starts. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
331 B
TypeScript
17 lines
331 B
TypeScript
import { Loader2Icon } from 'lucide-react'
|
|
|
|
import { cn } from '@/lib/utils'
|
|
|
|
function Spinner({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
return (
|
|
<Loader2Icon
|
|
role="status"
|
|
aria-label="Loading"
|
|
className={cn('size-4 animate-spin', className)}
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export { Spinner }
|