@deephaven/file-explorer
TypeScript icon, indicating that this package has built-in type declarations

0.77.0 • Public • Published

@deephaven/file-explorer

React component for browsing a file explorer server. Implementation must be provided.

Install

npm install --save @deephaven/file-explorer

Usage

import React, { Component } from 'react';
import FileExplorer, { FileStorage } from '@deephaven/file-explorer';

class MyFileStorage implements FileStorage {
  // Must implement all menthods...
}

const storage = new MyFileStorage();

class Example extends Component {
  render() {
    return (
      <FileExplorer
        storage={storage}
        onSelect={item => console.log('Item selected', item)}
      />
    );
  }
}

Legal Notices

Deephaven Data Labs and any contributors grant you a license to the content of this repository under the Apache 2.0 License, see the LICENSE file.

Readme

Keywords

none

Package Sidebar

Install

npm i @deephaven/file-explorer

Weekly Downloads

5,611

Version

0.77.0

License

Apache-2.0

Unpacked Size

378 kB

Total Files

73

Last publish

Collaborators

  • jnumainville
  • deephaven-bot
  • vbabich
  • mofojed
  • mikebender
  • niloc132
  • nbauernfeind