Socket
Book a DemoInstallSign in
Socket

react-report-lib

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-report-lib

A flexible and customizable library for generating reports in React applications.

0.0.94
latest
npmnpm
Version published
Weekly downloads
16
-48.39%
Maintainers
0
Weekly downloads
 
Created
Source

React Report Library

A flexible and customizable library for generating reports in React applications.

Installation

npm install react-report-lib

Usage

import { GenericReport } from 'react-report-lib';

function Report() {
  // const [count, setCount] = useState(0)
  return (
    <div>
        <h1>Report Generation</h1>
        <GenericReport apiBaseUrl="http://localhost:8090/report" paginationMode="server"  />
    </div>
  )
}

Features

  • Modular report sections
  • Customizable layouts
  • Easy integration with existing React apps

API Reference

<GenericReport />

PropTypeDescription
apiBaseUrlstringBase URL of your backend application
paginationModestringwhere should be pagination handle, Server or UI

Customization

You can style components using CSS or styled-components. Example :

const theme = createTheme({
  components: {
    MuiButton: {
      styleOverrides: {
        root: {
          backgroundColor: "green",
          color: "white",
          "&:hover": {
            backgroundColor: "darkred",
          },
        },
      },
    },
  },
});
function App() {
  // const [count, setCount] = useState(0)
  return (
    <div>
      
      <ThemeProvider theme={theme}>
        <h1>Report Generation</h1>
        <GenericReport apiBaseUrl="http://localhost:8090/report" paginationMode='client' />
      </ThemeProvider>
      
    </div>
  )
}

Contributing

  • Fork the repo
  • Create your feature branch
  • Submit a pull request

License

MIT

FAQs

Package last updated on 04 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.