Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

@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