Module

ReportSinglePage

Represents ReportSingle page component

View Source pages/Dashboard/Report/ReportSinglePage.jsx, line 12

Members

void | any | null

# static fileExtension

Constant for file extension

View Source pages/Dashboard/Report/ReportSinglePage.jsx, line 98

object

# static isLoading

React useState for is loading

Default Value:
  • useState(true)

View Source pages/Dashboard/Report/ReportSinglePage.jsx, line 26

object

# static reportFile

React useState for report file

Default Value:
  • useState({}

View Source pages/Dashboard/Report/ReportSinglePage.jsx, line 18

object

# static useParams

React useParams for getting id

View Source pages/Dashboard/Report/ReportSinglePage.jsx, line 34

Methods

# static handleDownload(name, pdfUrl)

Function for handle download

Parameters:
Name Type Description
name string

name of the file

pdfUrl string

pdf url

View Source pages/Dashboard/Report/ReportSinglePage.jsx, line 70

# static singleDocumentApicall() → {void}

Function for single document api call

View Source pages/Dashboard/Report/ReportSinglePage.jsx, line 47

void