Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nteract/presentational-components

Package Overview
Dependencies
Maintainers
18
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nteract/presentational-components

pure presentational components for nteract

  • 3.4.12
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
18
Weekly downloads
 
Created
Source

@nteract/presentational-components

This package contains React components for rendering inputs, outputs, cells, and other key UI elements within nteract applications.

Installation

$ yarn add @nteract/presentational-components
$ npm install --save @nteract/presentational-components

Usage

The Redux reducer below shows how we can leverage the components within this package to display a cell with an input and output.

import {
  Cell,
  Input,
  Prompt,
  Source,
  Outputs
} from "@nteract/presentational-components";

export default () => {
  return (
    <Cell isSelected>
      <Input>
        <Prompt counter={2} />
        <Source language="python">{`print("Hello World")`}</Source>
      </Input>
      <Outputs>
        <pre>Hello World</pre>
      </Outputs>
    </Cell>
  );
};

Documentation

You can view the reference documentation for @nteract/presentational-components 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 and add the pkg:presentational-components label.

License

BSD-3-Clause

Keywords

FAQs

Package last updated on 27 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc