Skip to content

An AI-powered search engine with a generative UI

325 B
Raw Blame
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]} />
}