Skip to content

SensorUp/su-sortable-tree-theme

 
 

Repository files navigation

SU Sortable Tree Theme

Forked from React Sortable Tree File Explorer Theme https://github.com/frontend-collective/react-sortable-tree-theme-file-explorer

Usage

yarn add @sensorup/su-sortable-tree-theme
import React from "react";
import SortableTree from "react-sortable-tree";
import SuSortableTreeTheme from "@sensorup/su-sortable-tree-theme";

const Tree = ({ treeData, onTreeChange }) => {
  return (
    <SortableTree
      treeData={treeData}
      onChange={onTreeChange}
      theme={SuSortableTreeTheme}
    />
  );
};

export default Tree;

About

A file explorer theme for React Sortable Tree

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 84.5%
  • SCSS 15.5%