@nteract/display-area
TypeScript icon, indicating that this package has built-in type declarations

5.0.4-alpha.0 • Public • Published

Display Area

Render Jupyter notebook outputs in a trim little React component.

Installation

You may use whichever package manager (npm or yarn) best suits your workflow. The nteract team internally uses yarn.

npm install @nteract/display-area
# OR
yarn add @nteract/display-area

Usage

import { Display } from '@nteract/display-area'
<Display outputs={outputs} />

Here outputs is an Object with all the outputs of a cell. Note: this does require trim, clean editions of the multiline cells as is done in @nteract/commutable.

Used in context of a notebook, you will likely be extracting it from a cell:

<Display outputs={this.props.cell.outputs} />

Readme

Keywords

Package Sidebar

Install

npm i @nteract/display-area

Weekly Downloads

1,300

Version

5.0.4-alpha.0

License

BSD-3-Clause

Unpacked Size

28.1 kB

Total Files

21

Last publish

Collaborators

  • hydrosquall
  • benabel
  • alexandercbooth
  • benrussert
  • mpacer
  • theengineear
  • yuvipanda
  • rgbkrk
  • lgeiger
  • ivanov
  • captainsafia
  • peggyrayzis
  • jdetle
  • hasch
  • willingc
  • stormpython
  • crystalline-cat
  • emeeks