@light-sheet/react
Version:
FortuneSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets
16 lines (15 loc) • 521 B
TypeScript
import React from "react";
type rightPanelValueType = {
title?: string | React.ReactNode;
content?: React.ReactNode;
footer?: React.ReactNode;
onClose?: () => undefined | boolean | Promise<boolean> | void;
} | null;
declare const RightPanelContext: React.Context<{
value: rightPanelValueType;
setValue: React.Dispatch<React.SetStateAction<rightPanelValueType>>;
}>;
declare const RightPanelProvider: React.FC<{
children?: React.ReactNode;
}>;
export { RightPanelContext, RightPanelProvider };