Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

fallback-part.tsx

8 lines275 Bytes

1import type { PartProps } from '@tanstack/ai-react/ui'
2import type { chatOptions } from '@/chat/options'
3​
4export function FallbackPart({ part }: PartProps<typeof chatOptions>) {
5 return (
6 <p className="text-muted-foreground text-xs">Unmapped part: {part.type}</p>
7 )
8}