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

0.81.1 • 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.

/@deephaven/file-explorer/

    Package Sidebar

    Install

    npm i @deephaven/file-explorer

    Weekly Downloads

    7,933

    Version

    0.81.1

    License

    Apache-2.0

    Unpacked Size

    378 kB

    Total Files

    73

    Last publish

    Collaborators

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