(props: {
className?: string
children: ReactNode
})
| 2 | import { cn } from '@/lib/utils' |
| 3 | |
| 4 | export function ToolMessage(props: { |
| 5 | className?: string |
| 6 | children: ReactNode |
| 7 | }) { |
| 8 | return ( |
| 9 | <div |
| 10 | className={cn( |
| 11 | 'text-sm px-3.5 py-3 border border-border bg-background rounded-md font-mono', |
| 12 | props.className |
| 13 | )} |
| 14 | > |
| 15 | {props.children} |
| 16 | </div> |
| 17 | ) |
| 18 | } |