Skip to content

Latest commit

 

History

History
 
 

display-area

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Display Area

Render Jupyter notebook outputs in a trim little React component.

Installation

npm install @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} />