JSPM

@instructure/ui-tree-browser

5.0.0-dev.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12467
  • Score
    100M100P100Q136825F
  • License MIT

A UI component library made by Instructure Inc.

Package Exports

  • @instructure/ui-tree-browser
  • @instructure/ui-tree-browser/lib/components/TreeBrowser

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-tree-browser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


category: packages

ui-tree-browser

npm build-status MIT License Code of Conduct

Installation

yarn add @instructure/ui-tree-browser

Usage

import React from 'react'
import TreeBrowser from '@instructure/ui-tree-browser/lib/components/TreeBrowser'

export default MyTreeBrowser = function () {
  return (
    <TreeBrowser
      collections={{ 1: { id: 1, name: "Collection", items: [1], descriptor: "My Collection" }}}
      items={{ 1: { id: 1, name: "Item"}}}
    />
  )
}

Components

The ui-tree-browser package contains the following:

Contribute

See the contributing guidelines for details.

License

MIT