5.1.14 • Published 2 years ago

@nteract/outputs v5.1.14

Weekly downloads
5,646
License
BSD-3-Clause
Repository
github
Last release
2 years ago

@nteract/outputs

This package contains components for rendering different responses from a Jupyter kernel. These components provide support for rendering plain data and rich media (such as images and HTML) data.

Installation

$ yarn add @nteract/outputs
$ npm install --save @nteract/outputs

Usage

The example below shows how we can use the ExecuteResult component within this package to render the response to an execution request sent by our Jupyter kernel.

import { ExecuteResult } from "@nteract/outputs";

export default () => {
  const Plain = props => <pre>{props.data}</pre>;
  Plain.defaultProps = {
    mediaType: "text/plain"
  };

  return (
    <ExecuteResult data={{ "text/plain": "The answer to everything is 42." }}>
      <Plain />
    </ExecuteResult>
  );
};

Documentation

You can view the reference documentation for @nteract/outputs in the component docs.

Support

If you experience an issue while using this package or have a feature request, please file an issue on the issue board.

License

BSD-3-Clause

5.1.14

2 years ago

3.0.11

4 years ago

3.0.10

4 years ago

3.0.9

4 years ago

3.0.9-alpha.0

4 years ago

3.0.8-alpha.0

4 years ago

3.0.7-alpha.0

4 years ago

3.0.6

4 years ago

3.0.6-alpha.0

4 years ago

3.0.5-alpha.0

4 years ago

3.0.4-alpha.0

4 years ago

3.0.3

4 years ago

3.0.3-alpha.0

4 years ago

3.0.2-alpha.0

4 years ago

3.0.1-alpha.0

4 years ago

3.0.0

4 years ago

2.6.2-alpha.0

4 years ago

2.6.1-alpha.0

4 years ago

2.5.0

4 years ago

2.6.0

4 years ago

2.4.0

4 years ago

2.3.7

4 years ago

2.3.6

5 years ago

2.3.5

5 years ago

2.3.4

5 years ago

2.3.3

5 years ago

2.3.2

5 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.5

5 years ago

2.1.4

5 years ago

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.4-alpha.0

5 years ago

1.0.3-alpha.0

5 years ago

1.0.0-alpha.0

6 years ago

0.1.0

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago