2.1.0 • Published 4 years ago

@nteract/directory-listing v2.1.0

Weekly downloads
932
License
BSD-3-Clause
Repository
-
Last release
4 years ago

@nteract/directory-listing

This package contains components that can be used to create a listing of items within a directory. To see this package in action, you can view the source code for the nteract commuter application.

Installation

$ yarn add @nteract/directory-listing
$ npm install --save @nteract/directory-listing

Usage

The example below shows how we can use the components within this package to create a listing of the items in a directory.

import { Listing, Entry, Icon, Name, LastSaved } from "@nteract/directory-listing";

export function () => <Listing>
  <Entry>
    <Icon fileType="notebook" />
    <Name>
      <a href="#listing">GANS-for-days.ipynb</a>
    </Name>
    <LastSaved lastModified="2018-06-27T16:21:25.354Z" />
  </Entry>

  <Entry>
    <Icon fileType="directory" />
    <Name>
      <a href="#listing">home</a>
    </Name>
    <LastSaved lastModified="2018-03-27T16:21:25.354Z" />
  </Entry>

  <Entry>
    <Icon fileType="file" />
    <Name>
      <a href="#listing">component.js</a>
    </Name>
    <LastSaved lastModified={new Date("2018-05-27T16:21:25.354Z")} />
  </Entry>
  <Entry>
    <Icon fileType="file" color="gray" />
    <Name>
      <i style={{ color: "gray" }}>no-permission-file.md</i>
    </Name>
    <LastSaved lastModified={new Date("2018-05-27T16:21:25.354Z")} />
  </Entry>
</Listing>

An example of a directory listing created using nteract components.

Documentation

You can view the reference documentation for @nteract/directory-listing in the Markdown files within the src directory.

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

2.1.0

4 years ago

2.0.14-alpha.0

4 years ago

2.0.13-alpha.0

4 years ago

2.0.12

4 years ago

2.0.12-alpha.0

4 years ago

2.0.11-alpha.0

4 years ago

2.0.10-alpha.0

4 years ago

2.0.9

4 years ago

2.0.9-alpha.0

4 years ago

2.0.8-alpha.0

4 years ago

2.0.7-alpha.0

4 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

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.2-alpha.0

5 years ago

1.0.0-alpha.0

6 years ago

0.3.6

6 years ago

0.3.4

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago