@patternfly-test/react-console

0.3.0 • Public • Published

@patternfly-react/console

This package provides VncConsole and SerialConsole React components to be used alongside patternfly-react.

The below commands are temporary and will be replaced once this repo starts using Lerna.

Installing

yarn add @patternfly-react/console

or

npm install @patternfly-react/console --save

Usage

import { VncConsole, SerialConsole } from '@patternfly-react/console'

Styling:

Example with LESS:

@import "~bootstrap/less/variables";
@import "~patternfly/dist/less/variables";
@import "~patternfly-react/dist/less/patternfly-react.less";
@import "~xterm/dist/xterm.css";
@import "~@patternfly-react/console/dist/less/console.less";

Building

yarn build

Note the build scripts for this are located in the root package.json under build:console:*.

Testing

Testing is done at the root of this repo. To only run the console tests:

yarn test packages/console

Publishing

yarn publish

Readme

Keywords

Package Sidebar

Install

npm i @patternfly-test/react-console

Weekly Downloads

1

Version

0.3.0

License

Apache-2.0

Unpacked Size

52.2 kB

Total Files

37

Last publish

Collaborators

  • dougmiller
  • patterfly-test-user
  • priley86