mui-component
Version:
some custom mui components
14 lines (13 loc) • 573 B
TypeScript
import type { BoxProps } from "@mui/material";
import type { ItemBarProps, UrlItem } from "./ItemBar";
import "./style.scss";
export interface AttachmentViewerProps extends Omit<ItemBarProps, "file"> {
/** url地址 */
urls: UrlItem[];
/** 传递给文件列表最外层的Box的props */
fileListBoxProps?: BoxProps;
/** 文件列表最外层Box的className */
fileListBoxClassName?: string;
}
/** 展示附件信息预览的组件 */
export declare const AttachmentViewer: (props: AttachmentViewerProps) => import("react/jsx-runtime").JSX.Element;