An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
import React from 'react'
import { AttachmentPreview } from './attachment-preview'
interface UserFileSectionProps {
file: {
name: string
url: string
contentType: string
}
}
export const UserFileSection: React.FC<UserFileSectionProps> = ({ file }) => {
return <AttachmentPreview attachments={[file]} />
}