19 lines
436 B
TypeScript
19 lines
436 B
TypeScript
import type { CSSProperties, FC } from "react";
|
||
|
||
export interface PdfProps {
|
||
/** pdf 文件地址 */
|
||
file: string;
|
||
/** 是否显示弹窗 */
|
||
visible?: boolean;
|
||
/** 关闭弹窗的方法 */
|
||
onCancel?: () => void;
|
||
/** 是否使用内联模式,true为不使用弹窗,默认为false */
|
||
inline?: boolean;
|
||
/** 内联模式下的样式 */
|
||
style?: CSSProperties;
|
||
}
|
||
|
||
declare const Pdf: FC<PdfProps>;
|
||
|
||
export default Pdf;
|