UNPKG

mui-component

Version:

some custom mui components

15 lines (14 loc) 573 B
import { type ReactNode } from "react"; import { type ModalProps } from "../../feedback"; import { type AttachmentViewerProps } from "../AttachmentViewer"; export interface AttachmentModalViewerProps extends ModalProps, AttachmentViewerProps { /** urls中每条 url路径前缀 */ urlPrefix?: string; /** 当 urls列表为空时,显示的内容 * @default '-'' */ fallback?: ReactNode; triggerTooltip?: ReactNode; triggerText?: ReactNode; } export declare const AttachmentModalViewer: (props: AttachmentModalViewerProps) => JSX.Element;