# react-sortable-tree-smartweb

> File explorer theme for react-sortable-tree

Latest version **1.1.1** (published 2019-01-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-sortable-tree-smartweb
pnpm add react-sortable-tree-smartweb
yarn add react-sortable-tree-smartweb
bun add react-sortable-tree-smartweb
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2019-01-11 |
| First published | 2019-01-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 59 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | moshchynskyy |
| Keywords | react, react-component |

## Links

- npm: https://www.npmjs.com/package/react-sortable-tree-smartweb
- Repository: https://github.com/moshchynskyy/react-sortable-tree-theme-file-explorer
- Issues: https://github.com/moshchynskyy/react-sortable-tree-theme-file-explorer/issues
- npm.io page: https://npm.io/package/react-sortable-tree-smartweb

## Dependencies (6)

- [react-dnd](https://npm.io/package/react-dnd.md) 2.5.4
- [prop-types](https://npm.io/package/prop-types.md) ^15.6.0
- [lodash.isequal](https://npm.io/package/lodash.isequal.md) ^4.4.0
- [react-virtualized](https://npm.io/package/react-virtualized.md) ^9.13.0
- [react-dnd-scrollzone](https://npm.io/package/react-dnd-scrollzone.md) ^4.0.0
- [react-dnd-html5-backend](https://npm.io/package/react-dnd-html5-backend.md) 2.5.4

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2019-01-11
- 1.1.0 — 2019-01-04
- 1.0.2 — 2019-01-03
- 1.0.1 — 2019-01-03
- 1.0.0 — 2019-01-03

## README

# React Sortable Tree Smartweb Theme
![theme appearance](https://user-images.githubusercontent.com/4413963/32144463-a7de23e0-bcfc-11e7-8054-1a83d561261e.png)
## Features
* Contains some external changes, added subtitles and other stuff
* You can click anywhere on a node to drag it.
* More compact design, with indentation alone used to represent tree depth.

## Usage

```sh
npm install --save react-sortable-tree-smartweb
```

```jsx
import React, { Component } from 'react';
import SortableTree from 'react-sortable-tree';
import CustomTheme from 'react-sortable-tree-smartweb';

export default class Tree extends Component {
  constructor(props) {
    super(props);

    this.state = {
      treeData: [{ title: 'src/', children: [ { title: 'index.js' } ] }],
    };
  }

  render() {
    return (
      <div style={{ height: 400 }}>
        <SortableTree
          treeData={this.state.treeData}
          onChange={treeData => this.setState({ treeData })}
          theme={CustomTheme}
        />
      </div>
    );
  }
}
```

---
_Source: https://npm.io/package/react-sortable-tree-smartweb · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
