This package provides VncConsole, SerialConsole and DesktopViewer React components to be used alongside patternfly-react to access virtual machine or server consoles.
yarn add @patternfly/react-console
or
npm install @patternfly/react-console --save
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';yarn build
Note the build scripts for this are located in the root package.json under yarn build.
Testing is done at the root of this repo.
yarn test
yarn publish
Please reference PatternFly's AI-assisted development guidelines if you'd like to contribute code generated using AI.