GitHub - patternfly/react-console: This package provides VncConsole, SerialConsole and DesktopViewer React components

This package provides VncConsole, SerialConsole and DesktopViewer React components to be used alongside patternfly-react to access virtual machine or server consoles.

Installing

yarn add @patternfly/react-console

or

npm install @patternfly/react-console --save

Usage

It's strongly advised to use the PatternFly Base CSS in your whole project, or some components may diverge in appearance:

import '@patternfly/react-core/dist/styles/base.css';
import { VncConsole, SerialConsole } from '@patternfly/react-console';

Building

Note the build scripts for this are located in the root package.json under yarn build.

Testing

Testing is done at the root of this repo.

Publishing

AI-assisted development guidelines

Please reference PatternFly's AI-assisted development guidelines if you'd like to contribute code generated using AI.