UNPKG

@douyinfe/semi-ui

Version:

A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.

21 lines (20 loc) 671 B
import React from "react"; import { FileItem } from '../upload/interface'; interface AttachmentProps { className?: string; attachment?: FileItem[]; onClear?: (item: FileItem) => void; showClear?: boolean; } interface FileProps { url?: string; name?: string; size?: string; type?: string; } export declare const FileAttachment: React.MemoExoticComponent<(props: FileProps) => React.JSX.Element>; export declare const ImageAttachment: React.MemoExoticComponent<(props: { src: string; }) => React.JSX.Element>; declare const Attachment: React.MemoExoticComponent<(props: AttachmentProps) => React.JSX.Element>; export default Attachment;