UNPKG

stimulsoft-reports-js-react

Version:

Stimulsoft Reports.JS is a reporting tool for React

25 lines (22 loc) 1.56 kB
import * as React from 'react' import { Stimulsoft } from './stimulsoft.reports' export { Stimulsoft }; interface ViewerProperties { report?: Stimulsoft.Report.StiReport; visible?: boolean, options?: Stimulsoft.Viewer.StiViewerOptions, id?: string, onPrepareVariables?: (args: Stimulsoft.Report.PrepareVariablesArgs, callback: (result: Stimulsoft.Report.PrepareVariablesObject[] | Stimulsoft.Report.PrepareVariablesArgs) => void) => void, onBeginProcessData?: (args: Stimulsoft.Report.BeginProcessDataArgs, callback: (result: any) => void) => void, onEndProcessData?: (args: Stimulsoft.Report.EndProcessDataArgs) => void, onPrintReport?: (args: Stimulsoft.Viewer.PrintReportEventArgs, callback: () => void) => void, onBeginExportReport?: (args: Stimulsoft.Viewer.BeginExportReportArgs, callback: () => void) => void, onEndExportReport?: (args: Stimulsoft.Viewer.EndExportReportArgs, callback: () => void) => void, onInteraction?: (args: Stimulsoft.Viewer.InteractionArgs, callback: () => void) => void, onEmailReport?: (args: Stimulsoft.Viewer.EmailReportArgs, callback: () => void) => void, onDesignReport?: (args: Stimulsoft.Viewer.DesignReportArgs) => void, onShowReport?: (args: Stimulsoft.Viewer.ShowReportArgs, callback: () => void) => void, onOpenReport?: (args: Stimulsoft.Viewer.OpenReportArgs, callback: () => void) => void, onOpenedReport?: (args: Stimulsoft.Viewer.OpenedReportArgs, callback: () => void) => void } export const Viewer: React.FunctionComponent<ViewerProperties>;