New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@pagewrightjs/react

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@pagewrightjs/react

The Pagewright report viewer and designer as React components.

npmnpm
Version
0.7.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@pagewrightjs/react

The Pagewright viewer and designer as React components. React is a peer dependency; the viewer loads on mount, so it is safe in server-rendered apps (Next.js, Remix).

import { PagewrightViewer, PagewrightDesigner } from '@pagewrightjs/react';

<PagewrightViewer server="https://reports.example.com" report="invoice" params={{ id: '42' }} style={{ height: 720 }} />
<PagewrightDesigner server="https://reports.example.com" definition={def} onSave={(d) => save(d)} toolbox={{ hide: ['map'] }} />

Props are the options of mountViewer / mountDesigner (see @pagewrightjs/viewer), plus className, style and onReady(handle). The viewer remounts when what it shows changes; the designer only for a new report or definition object, so it keeps its edits. MIT.

FAQs

Package last updated on 05 Oct 2026

Related posts