23 lines
449 B
TypeScript
23 lines
449 B
TypeScript
import type { FC } from "react";
|
|
|
|
export interface ExcelProps {
|
|
/** 是否显示弹窗 */
|
|
visible?: boolean;
|
|
/** 关闭回调 */
|
|
onCancel?: () => void;
|
|
/** xlsx 文件地址 */
|
|
file?: string;
|
|
/** xlsx 文件名 */
|
|
name?: string;
|
|
/** 是否内联展示 */
|
|
inline?: boolean;
|
|
/** 弹窗标题 */
|
|
title?: string;
|
|
/** 内容样式 */
|
|
style?: Record<string, any>;
|
|
}
|
|
|
|
declare const Excel: FC<ExcelProps>;
|
|
|
|
export default Excel;
|