@light-sheet/react
Version:
FortuneSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets
15 lines (14 loc) • 475 B
TypeScript
import React from "react";
type showPanelValueType = {
title?: string | React.ReactNode;
content?: React.ReactNode;
footer?: React.ReactNode;
onClose?: () => undefined | boolean | Promise<boolean> | void;
width?: number;
} | null;
export declare function useUIapi(): {
showModal: (content: string | React.ReactNode, type?: "ok" | "yesno") => void;
showRightPanel: (value: showPanelValueType) => void;
hideRightPanel: () => void;
};
export {};